Below are some of the steps you can try to resolve this issue.
Step 1: Make sure the database exists
# psql -h localhost -p 5432 -U db-username -d db-database
Step 2: Check the list of Databases that exits
# psql -h localhost -p 5432 -U db-username -l
This will provide you with the list of all the databases, which will help you to know if it does not exist or you have misspelled it.

Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!