Re: Connecting PHP-based Application to Postgres-9.0.3

Alan Hodgson <[email protected]> Thu, 7 Apr 2011 09:20:36 -0700
Newsgroups gmane.comp.db.postgresql.php
Organization Simkin Network Consulting
Message-ID <[email protected]>
On April 7, 2011, Rich Shepard <[email protected]> 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.