error connecting to database

Поиск
Список
Период
Сортировка
От Alexander Cohen
Тема error connecting to database
Дата
Msg-id 9872D4BC-13D9-11D9-9530-000A95B947DC@toomuchspace.com
обсуждение исходный текст
Ответы Re: error connecting to database  (sklassen@commandprompt.com)
Re: error connecting to database  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Laurent Duperval
Дата:
Сообщение: Pgadmin III Qustion
Следующее
От: sklassen@commandprompt.com
Дата:
Сообщение: Re: error connecting to database