Re: php -postgresql - Mailing list pgsql-general

From Scott Marlowe
Subject Re: php -postgresql
Date
Msg-id 1091050280.27159.0.camel@localhost.localdomain
Whole thread Raw
In response to Re: php -postgresql  (Geoff Caplan <geoff@variosoft.com>)
List pgsql-general
On Wed, 2004-07-28 at 14:08, Geoff Caplan wrote:
> 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().

Actually, with ident turned on, you shouldn't need to have a user listed
in pg_connect, or a password.


pgsql-general by date:

Previous
From: "Glen Parker"
Date:
Subject: Win32 binary
Next
From: "Kevin Bartz"
Date:
Subject: Timestamp input + copy