Loïc TREGOUËT writes:
> The following is ok :
> $ psql -h localhost -U postgres
> $ psql -h 127.0.0.1 -U postgres
>
> but this don't work :
> $ psql -U postgres
> psql: connectDBStart() -- connect() failed: Connection refused
> Is the postmaster running at 'localhost'
> and accepting connections on Unix socket '5432'?
Check that there's a socket file /tmp/.s.PSQL.5432. Maybe it got deleted
accidentally. Restart the postmaster to create a new one.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/