Skip site navigation (1) Skip section navigation (2)

Re: pg_connect error

From: Chris <dmagick(at)gmail(dot)com>
To: LonLinux <longlinux(at)gmail(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: pg_connect error
Date: 2008-05-19 01:42:45
Message-ID: (view raw or whole thread)
Lists: pgsql-php
LonLinux wrote:
> Hello, I have this problem with a connection to postgres server (running
> in a win2000 server).
> When I connect with pgAdmin to the same postgres server works ok, but
> when I try to connect from php5 the connection fails.

What error message do you get?

echo pg_last_error($db_conn);

Postgresql & php tutorials

In response to

pgsql-php by date

Next:From: Carlos CostaDate: 2008-06-07 20:57:13
Subject: Problems connecting (from php to pg)
Previous:From: Robert TreatDate: 2008-05-19 01:40:10
Subject: Re: pg_connect error

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group