Question

Postgres could not connect to server: No such file or directory!

Posted June 7, 2013 5.7k views
createuser: could not connect to database postgres: 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"? This is the error which i get when i tried to createuser in postgres!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer
I'm not familiar with pgsql but maybe this helps: http://ubuntuforums.org/showthread.php?t=869080
Submit an Answer