Re: php -postgresql - Mailing list pgsql-general

From Geoff Caplan
Subject Re: php -postgresql
Date
Msg-id 100145797455.20040728210856@variosoft.com
Whole thread Raw
In response to php -postgresql  (Jay <jspothar@cs.uccs.edu>)
Responses Re: php -postgresql
List pgsql-general
Jay,

J> hi people,
J> i have been trying to connect to the database using php. but i am not
J> able to do so .i am getting the following errors

You won't get in as user "Jay" on the default access settings. Unless
you change the settings, Postgres expects to the system user to have
the same username as the Postgres user. So the path of least
resistance is to set up a Postgres user with the same name as Apache
has on your system, and use that as the username in pg_connect().

------------------
Geoff Caplan
Vario Software Ltd
(+44) 121-515 1154


pgsql-general by date:

Previous
From: Jerry LeVan
Date:
Subject: Re: [DEFAULT] Daily digest v1.4551 (20 messages)
Next
From: Lincoln Yeoh
Date:
Subject: Re: Sql injection attacks