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

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 (view raw or flat)
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

pgsql-general by date

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

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