Search Postgresql Archives

Re:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/10/2011 05:04 PM, daflmx wrote:

Is the server running locally and accepting connections on Unix domain socket"/var/run/postgresql/.s.PGSQL.5432"?

Well?

Does the socket file exist?

Is PostgreSQL configured to use a different socket - perhaps in /tmp - in postgresql.conf?

I'm guessing you're using `psql' from your OS's packages, which expects to find the PostgreSQL socket in /var/run/postgresql/ , but a PostgreSQL server you installed yourself that puts its socket in /tmp or somewhere else.

Note that you should still be able to connect with `-H localhost' to use TCP/IP rather than unix domain sockets.

--
Craig Ringer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux