PDA

View Full Version : /includes/class_core.php on line 274


chiris627
06-20-2007, 06:10 PM
I have problems with this error every day, please help me


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

cyberphr
06-20-2007, 06:29 PM
Do you get database errors often?
Also, any modifications installed?

chiris627
06-20-2007, 08:32 PM
I install vbulletin 3.6.7 and failure since then, help me that I can do or that I do

Paul M
06-21-2007, 12:32 AM
That's a server error - basically telling you mysql is not running. Speak to your host.

xt0m
08-07-2007, 03:15 PM
I get em as well, server is never actually offlined - I just receive those errors on mail. Currently running 3.6.8 (incl. the later corrections) with - apart from vbAvanced cmps - no mods installed.

snakes1100
08-07-2007, 03:41 PM
This can also be a issue with the following settings in my.cnf, unless you have root access, you will have to ask your host to possibly look into it more and change the following setting to see if it helps.

max_connections = 350

It could also be a slow connection and its simply timing out, bad script/hack installed.

connect_timeout = 5

Raising the limit on those could solve your issue.

Kyrasis6
02-18-2010, 11:52 PM
Did anybody figure out this problem? I'm currently getting the same error only when I attempt to run my forum on PHP 5.

Marco van Herwaarden
02-19-2010, 10:13 AM
Please see the manual on this: Can't connect to local MySQL server through socket (http://www.vbulletin.com/docs/html/cantconnect)