psql: FATAL: database “<text>” does not exist

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

psql: FATAL: database “<text>” does not exist

Naima Shaikh
How to fix when  database does not exist error comes while you already have it ?

Reply | Threaded
Open this post in threaded view
|

Re: psql: FATAL: database “<text>” does not exist

David G Johnston
On Tue, Oct 1, 2019 at 6:17 AM Naima Shaikh <[hidden email]> wrote:
How to fix when  database does not exist error comes while you already have it ?

This isn't a bug and almost certainly the database does indeed exist in whatever cluster the command you are running is being executed against.  There isn't a "fix", only a methodical exploration of the various moving parts in your environment to find out where the gap between expectation and reality is (or where there is a misconfiguration).

David J.