connecting to DB from apache
| From: | Cerberus | Date: | Sun, 22 Apr 2001 04:02:34 +0000 |
| Subject: | connecting to DB from apache | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2850@lists.php.net to get a copy of this message | ||
I am getting the following error when trying to run for the first time
admin.php from nuke 4.2;
Fatal error. Call to undefined function: mysql+pconnect() in
/var/www/html/mainfile.php
If I look at that file on that line I get the call for host, database and
user. I have set this in the config.php to be root. I think it could be
root not being able to login from the web. or not having access in that
Data Base. Should I give apache the access and if so? How do I do that. I
am using mysqladmin and can create the data base with no problems and I have
set a password for root and it works. As far as i know that is the only
user.
PLEASE HELP!!! I am loosing my hair over this one
Leigh.....