Re: help (maybe i'm a little stupid)

From: Thomas Beutin <tyrone(at)laokoon(dot)IN-Berlin(dot)DE>
To: Fabrizio <fabrizio(at)eleveners(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: help (maybe i'm a little stupid)
Date: 2002-07-15 13:16:53
Message-ID: 20020715151653.A8272@laokoon.bug.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)laokoon(dot)IN-Berlin(dot)DE
Beam me up, Scotty. There is no intelligent live down in Redmond.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2002-07-15 13:26:36 Re: I am being interviewed by OReilly
Previous Message Christoph Dalitz 2002-07-15 13:10:04 Re: SERIAL behaviour