Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id EA4B91337B93 for ; Thu, 7 Apr 2011 14:15:42 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 69660-01-5 for ; Thu, 7 Apr 2011 17:15:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from salmo.appl-ecosys.com (appl-ecosys.com [216.99.206.23]) by mail.postgresql.org (Postfix) with ESMTP id 1518A1337BD2 for ; Thu, 7 Apr 2011 14:15:30 -0300 (ADT) Received: by salmo.appl-ecosys.com (Postfix, from userid 1000) id 9B0FE37BC6; Thu, 7 Apr 2011 10:15:29 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by salmo.appl-ecosys.com (Postfix) with ESMTP id 98C9937B42 for ; Thu, 7 Apr 2011 10:15:29 -0700 (PDT) Date: Thu, 7 Apr 2011 10:15:29 -0700 (PDT) From: Rich Shepard To: pgsql-php@postgresql.org Subject: Re: Connecting PHP-based Application to Postgres-9.0.3 In-Reply-To: <20110407125635.1ae13751.wmoran@potentialtech.com> Message-ID: References: <201104070920.37258@hal.medialogik.com> <20110407125635.1ae13751.wmoran@potentialtech.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/8 X-Sequence-Number: 4170 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