Tag: user

Mac OS X: role “postgres” does not exist

Install Postgres brew install Postgres Try to log in. $ psql -h localhost -d postgres -U postgres psql: error: could not connect to server: FATAL: role “postgres” does not exist Create the user $ /usr/local/opt/postgres/bin/createuser -s postgres Start the server $ pg_ctl -D /usr/local/var/postgres start pg_ctl: another server might be running; trying to start server…