XF 1.4 An exception occurred: Can't connect to local MySQL server through socket

Neutral Singh

Well-known member
Website is down due to following showing message. I suspect its a server issue. Any pointer exactly what is wrong with the server? Thanks

Code:
An exception occurred: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/*****/public_html/library/Zend/Db/Adapter/Mysqli.php on line 333

    Zend_Db_Adapter_Mysqli->_connect() in Zend/Db/Adapter/Abstract.php at line 315
    Zend_Db_Adapter_Abstract->getConnection() in XenForo/Application.php at line 727
    XenForo_Application->loadDb()
    call_user_func_array() in XenForo/Application.php at line 970
    XenForo_Application->lazyLoad() in XenForo/Application.php at line 1001
    XenForo_Application::get() in XenForo/Application.php at line 1571
    XenForo_Application::getDb() in XenForo/Model.php at line 161
    XenForo_Model->_getDb() in XenForo/Model/DataRegistry.php at line 138
    XenForo_Model_DataRegistry->_getMultiFromDb() in XenForo/Model/DataRegistry.php at line 97
    XenForo_Model_DataRegistry->getMulti() in XenForo/Dependencies/Abstract.php at line 147
    XenForo_Dependencies_Abstract->preLoadData() in XenForo/FrontController.php at line 127
    XenForo_FrontController->run() in /home/******/public_html/index.php at line 13
 
Top Bottom