• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Zend_Db_Adapter_Mysqli_Exception: No such file or directory

Fethi.dz

Active member
#1
Hi,

I keep getting daily this error in the server error log, I don't know if it's a bug related to xenforo or a server error!!

Server Error Log
Error Info
Zend_Db_Adapter_Mysqli_Exception: No such file or directory - library/Zend/Db/Adapter/Mysqli.php:333
Generated By: Unknown Account, 3 minutes ago
Stack Trace
#0 /home/XXXXX/public_html/forum/library/Zend/Db/Adapter/Abstract.php(315): Zend_Db_Adapter_Mysqli->_connect()
#1 /home/XXXXX/public_html/forum/library/XenForo/Application.php(730): Zend_Db_Adapter_Abstract->getConnection()
#2 [internal function]: XenForo_Application->loadDb(Object(Zend_Config))
#3 /home/XXXXX/public_html/forum/library/XenForo/Application.php(973): call_user_func_array(Array, Array)
#4 /home/XXXXX/public_html/forum/library/XenForo/Application.php(1004): XenForo_Application->lazyLoad('db', NULL)
#5 /home/XXXXX/public_html/forum/library/XenForo/Application.php(1632): XenForo_Application::get('db')
#6 /home/XXXXX/public_html/forum/library/XenForo/Model.php(161): XenForo_Application::getDb()
#7 /home/XXXXX/public_html/forum/library/XenForo/Model/DataRegistry.php(138): XenForo_Model->_getDb()
#8 /home/XXXXX/public_html/forum/library/XenForo/Model/DataRegistry.php(97): XenForo_Model_DataRegistry->_getMultiFromDb(Array)
#9 /home/XXXXX/public_html/forum/library/XenForo/Dependencies/Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
#10 /home/XXXXX/public_html/forum/library/XenForo/FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
#11 /home/XXXXX/public_html/forum/index.php(13): XenForo_FrontController->run()
#12 {main}
Request State
array(3) {
["url"] => string(40) "https://www.4algeria.com/forum/t/247208/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}


btw, thread number 247208 exist and its not deleted!


Thanks.
 

Mike

XenForo developer
Staff member
#3
This is a server issue. It generally means the MySQL socket file is missing. This probably means your MySQL server is being restarted unexpectedly.