From: | Andrew Sullivan <sullivana(at)bpl(dot)on(dot)ca> |
---|---|
To: | user Postgresql ML <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: phpPgAdmin |
Date: | 2000-10-26 14:01:27 |
Message-ID: | 20001026100127.E2507@bpl.on.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Oct 26, 2000 at 10:14:13AM -0200, danyele wrote:
> Warning: Unable to connect to PostgresSQL server: FATAL 1: SetUserId:
> user 'password=' is not in 'pg_shadow' in lib.inc.php on line 121
> Error - /www/servers/phpPgAdmin/index.php
Yes. You've passed the username and password incorrectly
(specifically, it thinks you are logging in as user 'password=',
which seems an unlikely username).
The format for connect is
pg_Connect("host=[hostname] port=[portno] dbname=[databasename]
user=[usename] password=[password]");
You may want to use persistent connections, also.
There is extensive documentation (not all of it a model of clarity,
but if I can understand it, I'm sure anyone can) at
<http://www.php.net>.
A
--
Andrew Sullivan Computer Services
<sullivana(at)bpl(dot)on(dot)ca> Burlington Public Library
+1 905 639 3611 x158 2331 New Street
Burlington, Ontario, Canada L7R 1J4
From | Date | Subject | |
---|---|---|---|
Next Message | Wade D. Oberpriller | 2000-10-26 14:16:08 | Re: Alternate locations of DB's |
Previous Message | Vincent Magnin | 2000-10-26 13:59:10 | Case Sensitive Table ? |