Re: Connecting PHP-based Application to Postgres-9.0.3

Rich Shepard <[email protected]> Thu, 7 Apr 2011 10:15:29 -0700 (PDT)
Newsgroups gmane.comp.db.postgresql.php
Message-ID <[email protected]>
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@salmo ~]$ psql -h localhost cms
psql (9.0.3)
Type "help" for help.

cms=#


Rich

-- 
Sent via pgsql-php mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php