Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

psql: error: 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"?

Try running to verify its working:

sudo service postgresql start
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #connect #No #file #directory #Is #server #running #locally #accepting #connections #Unix #domain #socket
ADD COMMENT
Topic
Name
2+9 =