unable to connect to PostgreSQL server

Поиск
Список
Период
Сортировка
От Faudzy Sulaiman
Тема unable to connect to PostgreSQL server
Дата
Msg-id 200201230641.g0N6fxv05847@ummail.um.edu.my
обсуждение исходный текст
Ответы Re: unable to connect to PostgreSQL server
Список pgsql-php
I'm getting an error message :

Warning: Unable to connect to PostgreSQL server: PQconnectDB() -- couldn't read
postmaster response: errno=104 Connection reset by peer in /var/www/html/test1.php
on line 24

my PHP script is :

if($myconn = pg_connect("dbname=mydb
   host=localhost
   port=443
   user=faudzy
   "))
{ echo "Connection to PostgreSQL server 'localhost' successful<br>\n"; }


how do I fix it ?


thanks.

------------------------------
http://www.um.edu.my

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

Предыдущее
От: Manuel Lemos
Дата:
Сообщение: Re: "SQL" REPLACE SYNTAX
Следующее
От: Andrew McMillan
Дата:
Сообщение: Re: "SQL" REPLACE SYNTAX