From: | "Scott Marlowe" <smarlowe(at)qwest(dot)net> |
---|---|
To: | "Geoff Caplan" <geoff(at)variosoft(dot)com> |
Cc: | "Jay" <jspothar(at)cs(dot)uccs(dot)edu>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: php -postgresql |
Date: | 2004-07-28 21:31:20 |
Message-ID: | 1091050280.27159.0.camel@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Bartz | 2004-07-28 22:11:05 | Timestamp input + copy |
Previous Message | Glen Parker | 2004-07-28 21:26:18 | Win32 binary |