Postgre
| From: | Nicolas Raitman | Date: | Fri, 27 Oct 2000 00:20:22 +0000 |
| Subject: | Postgre | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-3976@lists.php.net to get a copy of this message | ||
Hi to all. I have the following problem.
I have the following call in a php script
$con = pg_connect("dbname = people");
when I try to execute this I get the following error message:
Warning: unable to connect to postgreSQL server: FATAL 1: setUserId: user
'apache' is no i 'pg_shadow' in /var/www/html/applet/index.php in line 18
As you can see... I am running RedHat 7.0 with apache and PHP4... which is
the mistake and where can I allow the user apache to access the database?
Thanks a lot