From: | Bill Moran <wmoran(at)potentialtech(dot)com> |
---|---|
To: | Rich Shepard <rshepard(at)appl-ecosys(dot)com> |
Cc: | pgsql-php(at)postgresql(dot)org |
Subject: | Re: Connecting PHP-based Application to Postgres-9.0.3 |
Date: | 2011-04-07 17:20:29 |
Message-ID: | 20110407132029.be595363.wmoran@potentialtech.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
In response to Rich Shepard <rshepard(at)appl-ecosys(dot)com>:
> On Thu, 7 Apr 2011, Bill Moran wrote:
>
> > The ADODB error message indicates that you are connecting to localhost via
> > TCP/IP. The default for psql when you don't specify a host is to connect
> > via unix domain socket. You're not testing the same thing.
>
> Bill
>
> Oh.
>
> > See if
> > psql -h localhost cms
> > works.
>
> Yes, it does:
>
> [rshepard(at)salmo ~]$ psql -h localhost cms
> psql (9.0.3)
> Type "help" for help.
>
> cms=#
Well, that blows my first theory out of the water ;)
Check the PG server logs, and consider increasing some logging levels
on the server. PG does some pretty good logging of failed connections
if you have the settings right.
--
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
From | Date | Subject | |
---|---|---|---|
Next Message | Rich Shepard | 2011-04-07 17:35:42 | Re: Connecting PHP-based Application to Postgres-9.0.3 |
Previous Message | Rich Shepard | 2011-04-07 17:15:29 | Re: Connecting PHP-based Application to Postgres-9.0.3 |