PDA

View Full Version : Database error


Lars-K
04-03-2013, 04:32 PM
Hi, I have got several error msg regarding my DB the last days. I'm running VB 4.2.0
The error is always like this, but script referrer is different:


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/cnncovyh/public_html/includes/class_core.php on line 317

MySQL Error :
Error Number :
Request Date : Tuesday, April 2nd 2013 @ 04:12:22 PM
Error Date : Tuesday, April 2nd 2013 @ 04:12:22 PM
Script : http://www.xxx.com/mobiquo/mobiquo.php
Referrer : http://www.xxx.com/mobiquo/mobiquo.php
IP Address : 173.xxx.xx.xx
Username :
Classname : vB_Database
MySQL Version :



Any idea how to fix this?

snakes1100
04-03-2013, 04:48 PM
Thats a issue with the SQL server, you would have to check the server if its a vps or dedicated server, if this is a vhosted account, you need to ask your host.

It basically says the SQL server isnt running.

Lars-K
04-03-2013, 04:50 PM
I have installed CloudFlare.
Can the issue be from this software?

snakes1100
04-03-2013, 05:04 PM
Hard to say, you would need to check the server(s) as i suggested above.

Clouds are junk, but they do work ok for small sites.

Lars-K
04-03-2013, 05:39 PM
Thanks!
I will try to disable CloudFlare, and see what's happening.

snakes1100
04-03-2013, 05:53 PM
You need to check the server first before you start disabling stuff.

Start with SQL & make sure its running when you get the error.