Re: Connecting PHP-based Application to Postgres-9.0.3

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
Date: 2011-04-07 17:15:29
Message-ID: alpine.LNX.2.00.1104071014420.397@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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=#

Rich

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Bill Moran 2011-04-07 17:20:29 Re: Connecting PHP-based Application to Postgres-9.0.3
Previous Message Rich Shepard 2011-04-07 17:13:31 Re: Connecting PHP-based Application to Postgres-9.0.3