Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

rm /usr/local/var/postgres/postmaster.pid
brew services restart postgresql

# Think to restart your terminal (cmd + q on macOS)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #connect #No #file #directory #Is #server #running #locally #accepting #connections #Unix #domain #socket
ADD COMMENT
Topic
Name
9+9 =