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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Mon, 19 May 2008 11:42:45 +1000
  • Message-id: <4830DB15.4080103@gmail.com> <text/plain>

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
http://www.designmagick.com/



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group