Cannot connect to postgresql on port 5432
- by Assaf Lavie
I installed the Bitnami Django stack which included PostgreSQL 8.4.
When I run psql -U postgres I get the following error:
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
PG is definitely running and the…