Re: php connection failure

Поиск
Список
Период
Сортировка
От ourdiaspora
Тема Re: php connection failure
Дата
Msg-id _1cOKIs6JLbp1g83re-TI59O8umOOQei3I2z0ZW-2wRx6Wh9lu6a8XmtSrNJvkhVY6yLd19gxOqnYJqIo679Y9ASYK57DSNE0Lm7KkFX89A=@protonmail.com
обсуждение исходный текст
Ответ на Re: php connection failure  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Sunday, August 8th, 2021 at 12:11 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

>
> If php is trying to connect to something else, like say the
>
> machine's external IP address, that could be your issue.

Excuse the ignorance, but if the instruction in the php file is:
"
...$dbconn = pg_connect("dbname=cpacweb user=cpaca host=localhost")...
"
why should php try to connect to anything except 'localhost', as instructed?




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

Предыдущее
От: ourdiaspora
Дата:
Сообщение: Re: php connection failure
Следующее
От: Tom Lane
Дата:
Сообщение: Re: php connection failure