Re: phpPgAdmin
От | Andrew Sullivan |
---|---|
Тема | Re: phpPgAdmin |
Дата | |
Msg-id | 20001026100127.E2507@bpl.on.ca обсуждение исходный текст |
Ответ на | phpPgAdmin (danyele <danyele@cpatc.embrapa.br>) |
Список | 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 по дате отправления: