Postgres access using PHP

From: John Poltorak <jp(at)eyup(dot)org>
To: pgsql-novice(at)postgresql(dot)org
Subject: Postgres access using PHP
Date: 2001-01-14 22:27:57
Message-ID: 20010114222757.E85@eyup.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


I am trying to access a Postgres database using PHP from a Web page
and it doesn't work.

Could anyone shed any light on the problem?

This is the error I get - which looks like an authentication problem:-

Unable to connect to PostgreSQL server: FATAL 1: SetUserId: user 'root' is not in 'pg_shadow'

What have I overlooked in setting up Postgres for Web access?

--
John

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Brett W. McCoy 2001-01-14 22:55:34 Re: Postgres access using PHP
Previous Message Andrew McMillan 2001-01-14 18:31:36 Re: [BUGS] Bug in SQL functions that use a NULL parameter directly