Fix for following issue: $ psql psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? Running postgres might work but not necessarily and can throw following error: pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start pg_ctl: another server might be running; trying to start server anyway So here's a quick fix.
Check the log $ tail -f /usr/local/var/postgres/server.l...