I just installed postgres (with brew) and started it with pg_ctl -D /usr/local/var/postgres -l logfile start
I now try to connect to it in the terminal but get the following:
Connection to PostgreSQL - postgres@localhost failed FATAL: role "me" does not exist
The issue might be that I first installed postgres.app and then didn't get it work right and then removed it.
postgresand it should not require a password.initdb /usr/local/var/postgres9.5 -E utf8but I getcreating directory /usr/local/var/postgres9.5 ... initdb: could not create directory "/usr/local/var/postgres9.5": Permission denied