Re: Connect error

Поиск
Список
Период
Сортировка
От Sai Hertz And Control Systems
Тема Re: Connect error
Дата
Msg-id 4002CEF9.4030707@sancharnet.in
обсуждение исходный текст
Ответ на Connect error  (Russell Shaw <rjshaw@iprimus.com.au>)
Список pgsql-novice
Dear Russell Shaw ,

>   <?php
>     $conn=pg_connect("dbname=parts_list user=russell");
>     if(!$conn)
>       exit(pg_result_error($conn));
>   ?>
>
> I have apache-1.3 running ok. In /etc/postgresql/pg_hba.conf, i
> have "ident sameuser". I can access the database ok from my user

Bill is correct IDENT  gives me doubt also
To check further do one thing
psql -U <username> -h localhost <database>
If this fails
make sure postgres.conf  has field
Check tcpip_socket is set to true
and
virtual_host is pointing to server's IP

hope this helps

Regards,

Vishal Kashyap

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Connect error
Следующее
От: "Rod K"
Дата:
Сообщение: Re: Connect error