Re: [GENERAL] php + postgresql pg_connect problem

2005-12-14 Thread Richard Huxton
John Taber wrote: You are using "ident" authentication in your pg_hba.conf file. You probably don't want this. Start with trust if you are connecting locally, then turn passwords on once you are happy you can connect. Thks for directing me to the pg_hda file - I have made the changes - But I

Re: [GENERAL] php + postgresql pg_connect problem

2005-12-13 Thread John Taber
Richard Huxton wrote: John Taber wrote: I am having trouble connecting php(5.1.1) and postgresql(8.1) running on Ubuntu Breezy. Both run fine separately. I created a user (tempuser) and a database (tempdb). If I run psql -l it shows the database "tempdb" with the username "tempuser". But I ge

Re: [GENERAL] php + postgresql pg_connect problem

2005-12-13 Thread Richard Huxton
John Taber wrote: I am having trouble connecting php(5.1.1) and postgresql(8.1) running on Ubuntu Breezy. Both run fine separately. I created a user (tempuser) and a database (tempdb). If I run psql -l it shows the database "tempdb" with the username "tempuser". But I get the following error us

[GENERAL] php + postgresql pg_connect problem

2005-12-13 Thread John Taber
I am having trouble connecting php(5.1.1) and postgresql(8.1) running on Ubuntu Breezy. Both run fine separately. I created a user (tempuser) and a database (tempdb). If I run psql -l it shows the database "tempdb" with the username "tempuser". But I get the following error using pg_connect: Wa