Ask A Question


You’re not receiving notifications from this thread.

SQL Learning Path - Creating and Dropping Databases Discussion

Initially, I got a connection error, to the effect, 'database 'my_user_name' does not exist.

After running createdb and then psql, everything works and I was able to connect using 'TablePlus' : )


Type "psql -l" to your command to check existing databases (without quotes "")


This a good one that I run every so often to check for any old databases laying around that I can get rid of, so good call on mentioning it!


Hi mate, should probably mention somewhere to createdb. I spent a good 20 minutes trying to figure out why tablePlus couldn't connect with the new database.


I had the same connection error that Eric Halverson mentioned and my simple fix was to enter postgres as the database name in the pop up window of tableplus when creating the connection. For the reason as to why that happens, I found this comment on reddit that explains it pretty well =>



Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 84,256+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.