Postgres
Is the server running locally
and accepting connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
So just add
export PGHOST=localhost
to your shell start file, e.g.~/.zshrc
and you are set.
Postgres
Is the server running locally
and accepting connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
So just add
export PGHOST=localhost
to your shell start file, e.g.~/.zshrc
and you are set.
It worked for me.