Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 6C1A51337B93 for ; Thu, 7 Apr 2011 13:51:48 -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 15957-06 for ; Thu, 7 Apr 2011 16:51:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from zeus.simkin.ca (zeus.simkin.ca [72.51.27.124]) by mail.postgresql.org (Postfix) with ESMTP id 02DE81337B6E for ; Thu, 7 Apr 2011 13:51:39 -0300 (ADT) Received: from charon.medialogik.com (S0106000c6eb33e73.vc.shawcable.net [96.49.227.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zeus.simkin.ca (Postfix) with ESMTPSA id 5EC9027003E for ; Thu, 7 Apr 2011 09:51:39 -0700 (PDT) From: Alan Hodgson Organization: Simkin Network Consulting To: pgsql-php@postgresql.org Subject: Re: Connecting PHP-based Application to Postgres-9.0.3 Date: Thu, 7 Apr 2011 09:51:35 -0700 User-Agent: KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.5.1; i686; ; ) References: <201104070920.37258@hal.medialogik.com> In-Reply-To: X-KMail-Markup: true MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_XuenN+wmcyFAxfG" Content-Transfer-Encoding: 7bit Message-Id: <201104070951.36063@hal.medialogik.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.909 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/5 X-Sequence-Number: 4167 --Boundary-01=_XuenN+wmcyFAxfG Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On April 7, 2011, Rich Shepard wrote: > On Thu, 7 Apr 2011, Alan Hodgson wrote: > > Can you connect to the database with psql using the same credentials?=20 > > PHP will use the same underlying postgresql library to connect. >=20 > Alan, >=20 > If you mean can I as a user connect to that same database, the answer > is yes: >=20 What does your pg_hba.conf file contain? =2D-=20 The era of procrastination, of half-measures, of soothing and baffling=20 expedients, of delays, is coming to a close. In its place we are entering a= =20 period of consequences=E2=80=A6 --Boundary-01=_XuenN+wmcyFAxfG Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

On April 7,= 2011, Rich Shepard <rshepard@appl-ecosys.com> wrote:

> On Thu= , 7 Apr 2011, Alan Hodgson wrote:

> > C= an you connect to the database with psql using the same credentials?

> > P= HP will use the same underlying postgresql library to connect.

>

> Alan,<= /p>

>

> If = you mean can I as a user connect to that same database, the answer

> is yes= :

>

What does y= our pg_hba.conf file contain?

--

The era of = procrastination, of half-measures, of soothing and baffling expedients, of = delays, is coming to a close. In its place we are entering a period of cons= equences=E2=80=A6

--Boundary-01=_XuenN+wmcyFAxfG--