Answers for "pg::connectionbad - connection to server on socket "/tmp/.s.pgsql.5432" failed: no such file or directory everytime launching server"

0

psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket?

$ rm /usr/local/var/postgres/postmaster.pid
$ brew services restart postgresql
Posted by: Guest on December-06-2021

Code answers related to "pg::connectionbad - connection to server on socket "/tmp/.s.pgsql.5432" failed: no such file or directory everytime launching server"

Code answers related to "Javascript"

Browse Popular Code Answers by Language