From: Alan Hodgson <ahodgson@simkin.ca>
To: pgsql-php@postgresql.org
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
Date: Thu, 7 Apr 2011 09:20:36 -0700
Message-ID: <201104070920.37258@hal.medialogik.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1104070900530.397@salmo.appl-ecosys.com>
References: <alpine.LNX.2.00.1104070900530.397@salmo.appl-ecosys.com>
On April 7, 2011, Rich Shepard <rshepard@appl-ecosys.com> wrote:
> /var/log/httpd/error_log shows:
>
> [Tue Apr 05 16:45:39 2011] [error] [client 127.0.0.1] PHP Fatal error:
> Attempt to connect to database cms on rshepard@localhost failed in
> /var/www/htdocs/cmsms/lib/adodb.functions.php on line 85
Can you connect to the database with psql using the same credentials? PHP
will use the same underlying postgresql library to connect.
--
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 consequences.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: ahodgson@simkin.ca
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
In-Reply-To: <201104070920.37258@hal.medialogik.com>
References: <alpine.LNX.2.00.1104070900530.397@salmo.appl-ecosys.com> <201104070920.37258@hal.medialogik.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox