PDA

View Full Version : Problem connecting to database???


Chimera
Mon 9th Apr '01, 3:32am
Hello:

After successfully installing and setting up vBulletin 1.1.6 PHP3 for Linux and was able to post to my forums etc and everything seemed fine.

Until I restarted Apache. Now everytime I try to access the vBulletin, I get this error message:

Fatal error: Call to undefined function: mysql_pconnect() in /home/httpd/html/vbulletin/admin/db_mysql.php3 on line 48


Any idea how to fix this? I do have mysqld running etc.
Its weird that everything worked until I restarted my Apache webserver.

Thanks,
Jim Norton
www.team-army.com
:confused:

Mike Sullivan
Mon 9th Apr '01, 1:07pm
Try changing the line mentioned to read: mysql_connect instead of mysql_pconnect. If that doesn't work, you don't have MySQL support in your PHP. Either you'll have to recompile it in, or load it as a separate module.