error connecting to database - Mailing list pgsql-general

From Alexander Cohen
Subject error connecting to database
Date
Msg-id 9872D4BC-13D9-11D9-9530-000A95B947DC@toomuchspace.com
Whole thread Raw
Responses Re: error connecting to database  (sklassen@commandprompt.com)
Re: error connecting to database  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Im trying to connect locally to a database on a running postgres
cluster. If i connect with psql, everything is fine and i can transact.
I i try and connect in my own app, i get this error:

Could not connect to server: permission denied.
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"

I know for a fact postgres is running, i can see with <ps> and also
<top> in the terminal on Mac OSX 10.3.5.

What exctly does this error message mean? What permissions is this
error talking about?

Alex


pgsql-general by date:

Previous
From: Laurent Duperval
Date:
Subject: Pgadmin III Qustion
Next
From: sklassen@commandprompt.com
Date:
Subject: Re: error connecting to database