Is the server running locally and accepting connections on Unix domain socket?

Is the server running locally and accepting connections on Unix domain socket?
Answer
Alternatively, you’ll get this when attempting Unix-domain socket communication to a local server: psql: 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”?
Photo in the article by “Wikimedia Commons”
Code:
https://commons.wikimedia.org/wiki/File:Ubuntu_5.04-x86.gif
 

Tìm kiếm

Back
Top