| From: | Rija RAKOTOMALALA <rija(at)online(dot)mg> |
|---|---|
| To: | pgsql-admin(at)hub(dot)org |
| Subject: | [ADMIN] permission denied from PHP3 |
| Date: | 1998-09-01 06:02:54 |
| Message-ID: | 35EB8E0E.54F09252@online.mg |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Hi here,
I have postgres 6.2.3 ; it works fine,but I 'd like to acces it from a
web page using the PHP interface.
In PHP file I have
$conn=pg_Connect("www.myhost.com","5432","","","mydatabase");
pg_Exec($conn,2Select * from table);
I get permission denied while executing the query (the pg_Connect
succes) with the user "nobody".User nobody was added with adduser.
In pg_hba.conf I have
host all 0.0.0.0 0.0.0.0 trust
My question is how to get permission to this database with nobody and in
wich file are the user permissions?
Thanks.
--
Rija RAKOTOMALALA
Stagiaire chez
CREAPRO
Amboditsiry Tel 22-406-85
MADAGASCAR
| From | Date | Subject | |
|---|---|---|---|
| Next Message | h a | 1998-09-01 15:25:37 | How can i start PostreSQL automatically |
| Previous Message | Mateus Cordeiro Inssa | 1998-08-31 18:59:40 | FATAL 1: btree: cannot split if start (2) >= maxoff (2) |