php - pgsql connection
| От | Sebestyen Zoltan |
|---|---|
| Тема | php - pgsql connection |
| Дата | |
| Msg-id | Pine.LNX.4.04.9910151649210.8785-100000@linux.intranet.netvisor.hu обсуждение исходный текст |
| Ответы |
Re: [GENERAL] php - pgsql connection
|
| Список | pgsql-general |
Hi,
I know it's not a PHP3 mailinglist but the question is somewhat related
to pgsql.
I would like to know what's the problem with following line:
$dbConn = pg_Connect( " host=$host user=$user password=$password port=$port dbname=$dbname");
The php variables are filled with the appropriate values.
However, I always get the following error:
Warning: Unable to connect to PostgresSQL server: connectDB() -- connect
() failed: Can't assign requested address Is the postmaster running (with
-i) at 'localhost' and accepting connections on TCP/IP port 'dbname='? in
/usr/users/szoli/public_html/guestbook.php3 on line 61
Thanks in advance
--------------------------------------------------------------------------------
Sebestyén Zoltán <szoli@netvisor.hu> I can't choose what I can't believe
That the way of life is to live and grieve
MAKE INSTALL NOT WAR 'cause I see living as a place in the sun
and the world as a place for a kingdom to come
I use UNIX because reboots are for hardware upgrades.
Kick me! Whip me!! Make me develop on AIX!!!
В списке pgsql-general по дате отправления: