Re: Unable to connect to PostgreSQL server via PHP

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unable to connect to PostgreSQL server via PHP
Дата
Msg-id 5212.1187014155@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Unable to connect to PostgreSQL server via PHP  ("John Coulthard" <bahhab@hotmail.com>)
Ответы Re: Unable to connect to PostgreSQL server via PHP
Список pgsql-general
"John Coulthard" <bahhab@hotmail.com> writes:
> That's not my problem though this is "could not connect to server:
> Permission denied"  If it's denying permission I must have the permissions
> set wrong but where to I start looking for them?

"Permission denied" is a pretty strange error for a TCP connect failure,
as that is not a filesystem operation.

Are you able to connect with psql, or some other non-php client?
Use "psql -h localhost" to make sure it tries a TCP connection not
a Unix-socket connection.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "Out of memory" errors..
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Problem Designing Index