Hie,
First , thanks to you . It's exact that i've lost this socket
file .
On my other pc , this locate in /var/run/postgresql .
But , i've restarted postmaster and i have no refund my file
Any idea ? thanks
Loic
Peter Eisentraut wrote:
>
> 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/