Log in

View Full Version : HELP! vBulletin database error!


Andy92
05-13-2008, 08:59 PM
Hey,

This has to happen when im updating my forum majourly. It suddenly keeps throwing error messages at me, and also emails them to my inbox every time it happens. I need urgent help.

It keeps coming up with this...

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/kedoacom/public_html/forum/includes/class_core.php on line 311

veenuisthebest
05-13-2008, 09:11 PM
refer to this page (http://www.tech-recipes.com/mysql_tips762.html)..

You can fix all of these problems through my.cnf, which is usually found at /etc/my.cnf

Andy92
05-13-2008, 09:17 PM
I have looked for /etc/my.cnf and i have /etc but no my.cnf

?????

I dont know how this has happened. One minute its fine, and the next its suddenly chucking up all these errors etc.

?

veenuisthebest
05-13-2008, 09:18 PM
these are all server related issues bro. , and thus your web host can provide you with the best and quickest solutions for such problems !!

--------------- Added 1210717242 at 1210717242 ---------------

also your error isn't a common one (coz I never saw it) !! its definitely something to do with the db server settings !!

Andy92
05-14-2008, 08:36 PM
Yeh, it magically fixed itself. I think its my host upgrading things or something.

veenuisthebest
05-14-2008, 08:38 PM
Yeh, it magically fixed itself. I think its my host upgrading things or something.
that was a good magic indeed !! lol