Re: FreeBSD/Postgres/Apache+PHP

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: FreeBSD/Postgres/Apache+PHP
Дата
Msg-id 20110331194452.GB24692@depesz.com
обсуждение исходный текст
Ответ на FreeBSD/Postgres/Apache+PHP  (babak badaei <badaei@yahoo.com>)
Список pgsql-general
On Thu, Mar 31, 2011 at 12:21:33PM -0700, babak badaei wrote:
> Hello Postgres Community,
>
> Thank you guys very much for PostgreSQL. To me, its the best database management system under the sun. I am setting
upa new jail configuration on FreeBSD with sockets and everything enabled. I can ping localhost fine. The problem is
thatwhen I load a script that connects to the database, Postgres says Unable to connect to PostgreSQL server: FATAL: no
pg_hba.confentry for host "x.x.x.x" (my actual web IP). I have done the following on the host machine: 
> I'd like Apache/PHP to just connect to Postgres localhost, not via the jail's IP--thus, no change to pg_hba.conf is
needed. 

what is your connection configuration in php?
What's the host/port?

Best regards,

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/

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

Предыдущее
От: babak badaei
Дата:
Сообщение: FreeBSD/Postgres/Apache+PHP
Следующее
От: Jerry Sievers
Дата:
Сообщение: Re: Access to NEW.column outside of a trigger function.