Re: php -postgresql

From: Geoff Caplan <geoff(at)variosoft(dot)com>
To: Jay <jspothar(at)cs(dot)uccs(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: php -postgresql
Date: 2004-07-28 20:08:56
Message-ID: 100145797455.20040728210856@variosoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lincoln Yeoh 2004-07-28 21:11:08 Re: Sql injection attacks
Previous Message Jerry LeVan 2004-07-28 19:45:10 Re: [DEFAULT] Daily digest v1.4551 (20 messages)