Running psql
gets me this:
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"?
I installed Postgres 9.3.3 using Homebrew.
which psql
gives /usr/local/bin/psql
This seems to be a common issue. I'm terribly sorry to ask again, but I've gone through at least a dozen Q&As here and can't resolve the issue. A few posts I've gone through include:
- Why am I getting a could not connect to server error for postgres in Mac OS Lion?
- Postgres cannot connect to server on Unix domain socket 5432
- Can not connect to local PostgreSQL
Many thanks, Justin