Database error in vBulletin : can someone please tell me what this means and how to fix it? i had my forum running for over a week now and this just happened today 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/tucoraco/public_html/includes/class_core.php on line 311 MySQL Error : Error Number : Request Date : Sunday, May 18th 2008 @ 02:07:43 PM Error Date : Sunday, May 18th 2008 @ 02:07:43 PM Script : http://www.tucora.com/member.php?find=lastposter&f=35 Referrer : IP Address : 77.91.224.23 Username : Classname : vb_database MySQL Version :
that error is related to your MySql server, if it is running, maybe you have to increase the number of connections allowed. I'm not MySql experth, however, but I face this problem a while back and it was solved accessing the root server to change it.
what trusted writer says it somewhat true. when your mysql database is full of connections, it will die of and it won't be accessable. So if you want to have the mySQL running all the time, go to SSH, type pico /etc/my.cnf and changes the max connections to a higher value.
Assuming the server is managed by someone else (hosting company - i.e., it's not a self-managed dedicated or VPS), if you simply let the hosting company know about the problem, they should be able to get a server admin in there to tweak the settings, to try to ensure that it doesn't happen again.