Re: help (maybe i'm a little stupid) - Mailing list pgsql-general

From Thomas Beutin
Subject Re: help (maybe i'm a little stupid)
Date
Msg-id 20020715151653.A8272@laokoon.bug.net
Whole thread Raw
In response to help (maybe i'm a little stupid)  ("Fabrizio" <fabrizio@eleveners.com>)
Responses Re: help (maybe i'm a little stupid)
Re: help (maybe i'm a little stupid)
List pgsql-general
Hi,

On Mon, Jul 15, 2002 at 08:44:39AM +0200, Fabrizio wrote:
> i made a page in php interfacing with postgresql server. i had a problem but
> i solve that one assuming postmaster with options -i and specifying port
> 5432. but then, when i call via browser my page, it returns error "fatal1:
> user apache does not exist...". if i must modify pg_hba.conf, how can i do?
> thanx
Look for the "createuser" shell command. And don't forget to give the permission
for the tables to this user ("GRANT" command on the psql prompt).
OR
Connect to the databes as the database super (NOT RECOMMENDED).

INHO the best thing is to create an user apache without permission for
database or table creation.

-tb
--
Thomas Beutin                             tb@laokoon.IN-Berlin.DE
Beam me up, Scotty. There is no intelligent live down in Redmond.

pgsql-general by date:

Previous
From: Curt Sampson
Date:
Subject: Re: SERIAL behaviour
Next
From: Oleg Bartunov
Date:
Subject: Re: recursing down a tree