Skip site navigation (1) Skip section navigation (2)

Re: php -postgresql

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 (view raw, whole thread or download thread mbox)
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.

In response to

pgsql-general by date

Next:From: Kevin BartzDate: 2004-07-28 22:11:05
Subject: Timestamp input + copy
Previous:From: Glen ParkerDate: 2004-07-28 21:26:18
Subject: Win32 binary

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group