Re: phpPgAdmin - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: phpPgAdmin
Date
Msg-id 20001026100127.E2507@bpl.on.ca
Whole thread Raw
In response to phpPgAdmin  (danyele <danyele@cpatc.embrapa.br>)
List 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@bpl.on.ca>                        Burlington Public Library
+1 905 639 3611 x158                                   2331 New Street
                                   Burlington, Ontario, Canada L7R 1J4

pgsql-general by date:

Previous
From: "Robert D. Nelson"
Date:
Subject: RE: Postgres 7.0.2-2 on Red Hat 7.0?
Next
From: oberpwd@anubis.network.com (Wade D. Oberpriller)
Date:
Subject: Re: Alternate locations of DB's