Question

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

  • Posted June 7, 2013

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!

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

I’m not familiar with pgsql but maybe this helps: http://ubuntuforums.org/showthread.php?t=869080