Postgres + PHP question: username in pg_connect?

From: Erich <hh(at)cyberpass(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Postgres + PHP question: username in pg_connect?
Date: 2000-07-18 23:51:09
Message-ID: 200007182351.QAA02097@cyberpass.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I'm getting ready to switch over from MySQL to Postgres for my PHP
application. Looking over the docs of PHP, it shows a pg_connect
command, which doesn't accept a user name. Any ideas on how to get it
to connect with a specified user name? Or do I have to run apache as
a specific user, and have that user have a postgres user account?
Right now, apache is running as nobody, which is pretty normal for
apache.

Thanks,

e

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brett W. McCoy 2000-07-19 00:09:28 Re: Postgres + PHP question: username in pg_connect?
Previous Message Lamar Owen 2000-07-18 23:00:15 linux.h