PDA

View Full Version : How Do I Fix This / What Dose It Mean


MiahBeSmokin420
09-29-2007, 07:24 PM
Im Getting This Error

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


This Is Nobody On My Site

This Has Been No Major Changes

What Do I Need To Do To Fix This

And

What Is Causeing This

snakes1100
09-29-2007, 07:35 PM
Ask you host to restart MySQL or if you have a VPS/Dedicated server, restart MySQL yourself.

MiahBeSmokin420
09-30-2007, 09:05 AM
Ask you host to restart MySQL or if you have a VPS/Dedicated server, restart MySQL yourself.

so thats basically the problem then?

it aint go anything to do with anything on the site?

Opserty
09-30-2007, 09:09 AM
I think he is implying that it is a problem with your database. I don't really understand what you mean by your second question. But I don't think its your fault if thats what your trying to ask.

Dismounted
09-30-2007, 09:21 AM
The error is caused because the MySQL server is down. All you need to do is to restart it.

Marco van Herwaarden
09-30-2007, 10:15 AM
This error means either:
1. The info in your config.php file is wrong (in which case your forums wouldn't work at all), or
2. MySQL crashed, it's not running or it can't find the socket. You need to contact your host about this. Here is more info on this error:
http://dev.mysql.com/doc/mysql/en/Can_not_connect_to_server.html