Re: Starting PostgreSQL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: admin <mick(at)mjhall(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Starting PostgreSQL
Date: 2008-10-11 17:29:01
Message-ID: 23854.1223746141@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

admin <mick(at)mjhall(dot)org> writes:
> I continually get this message:

> psql: could not connect to server: No such file or firectory
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PDSQL.0"?

If it's really saying .0, and not .5432, then the problem is on the
client side --- it's got the wrong idea about the port number to
connect to. Perhaps you have PGPORT set to something bogus in the
client environment?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Raj K 2008-10-11 17:38:16 Reg: Permission error in Windows psql while trying to read sql commands from file
Previous Message Matthew Wilson 2008-10-11 17:10:26 Need schema design advice