No announcement yet.

error in class_core.php

  • Filter
  • Time
  • Show
Clear All
new posts

  • error in class_core.php

    hi guys help me with this error plz sometimes i recevied an email and that what is written in it
    Database error in vBulletin :mysql_connect(): Can't connect to local MySQL server through socket'/var/lib/mysql/mysql.sock' (2)/home/xxxx/public_html/vb/includes/class_core.php on line 271MySQL Error : Error Number : Date : Tuesday, August 15th 2006 @ 11:49:51 PMScript :
    Referrer :
    IP Address :
    Username :
    Classname : vb_database

    so what is the problem and how to fix it?

  • #2

    mysql_connect(): Can't connect to local MySQL server through socket
    '/var/lib/mysql/mysql.sock' (2)

    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:


    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.