Mar 5, 2005
I am having a small issue with MySQL problems which appear to arrive during the nightly cPanel auto updates.

Auto Update commenced around 02.18am UK Time, and for the last two nights, at 02.20am, I recieve the following database errors:-

Database error in vBulletin :

mysql_connect() [<a
href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) /home/vwaf/public_html/forum/includes/class_core.php on line 274

MySQL Error :
Error Number :
Date : Monday, May 5th 2008 @ 02:20:50 AM
Script :
Referrer :
IP Address :
Username :
Classname : vB_Database

I get around 5-6 of these, then everything is OK.

To test this, I tried a manual update through WHM this morning, and the same errors, although around 15-20 of them arrived as soon as the update process started.

On Saturday I upgraded to the latest versions of PHP5, and MySQL, which went OK, and the site is running OK.

Any ideas what causes these errors to appear?



Well-Known Member
Jan 25, 2003
New York
Doesnt upcp cycle mysql each time it runs regardless of whether or not mysql is actually updated ?. I think you are just seeing errors for the brief time mysql is down.