The script was working fine, but today i found my email box with + 1450 database error messages, all the same, and i don't know if this script has nothing to do with it.
Code:
Database error in vBulletin :
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111
/home/mxitalc1/public_html/forum/includes/class_core.php on line 312
MySQL Error :
Error Number :
Request Date : Sunday, January 10th 2010 @ 09:10:38 AM
Error Date : Sunday, January 10th 2010 @ 09:10:38 AM
Script : http://www.m3xital.com/forum/gcbos.php
Referrer : http://www.m3xital.com/forum/content.php
IP Address : xx.xxx.xxx.xx
Username :
Classname : vB_Database
MySQL Version :
The line 312 in class_core.php is:
PHP Code:
$link = $this->functions[$usepconnect ? 'pconnect' : 'connect']("$servername:$port", $username, $password);