Answers for "psql: error: connection to server on socket "/tmp/.s.pgsql.5432" failed: fatal: database "" does not exist"

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 "psql: error: connection to server on socket "/tmp/.s.pgsql.5432" failed: fatal: database "" does not exist"

Code answers related to "Javascript"

Browse Popular Code Answers by Language