DEV Community

Discussion on: Installing pgAdmin Only after installing PostgreSQL with Homebrew Part 2

Collapse
 
biancasparxs profile image
Chinwe Oparaji

Referring to: You have to create a second user called postgres in order to be able to connect with and log in to pgAdmin. To create the postgres user, type the following command in Terminal while still logged in to postgres: -> May be helpful to point out it's a new Terminal instance (as createdb is not a valid Postgres command)

I also come across FATAL: database <user> is not created when trying psql for the first time, this is a good solution to that: stackoverflow.com/questions/176334...