Website, suddenly database error?


Active member
Earlier today the site was working, now I get this error after being away for a couple hours,

An unexpected database error occurred. Please try again later.

cant get into anything, admin panel nothing, what do I do?


Well-known member
interesting.. I go to and I get this.

Server Error

Server Error

Can't connect to MySQL server on '' (111)
  1. Zend_Db_Adapter_Mysqli->_connect() in/nfs/c07/h02/mnt/110115/domains/ at line 315
  2. Zend_Db_Adapter_Abstract->getConnection() in/nfs/c07/h02/mnt/110115/domains/ at line 525
  3. XenForo_Application->loadDb()
  4. call_user_func_array() in /nfs/c07/h02/mnt/110115/domains/ at line 752
  5. XenForo_Application->lazyLoad() in /nfs/c07/h02/mnt/110115/domains/ at line782
  6. XenForo_Application::get() in /nfs/c07/h02/mnt/110115/domains/ at line 161
  7. XenForo_Session->__construct() in/nfs/c07/h02/mnt/110115/domains/ at line 43
  8. XenForo_Install_Controller_Upgrade->_setupSession() in/nfs/c07/h02/mnt/110115/domains/ at line 298
  9. XenForo_Controller->preDispatch() in /nfs/c07/h02/mnt/110115/domains/ line 309
  10. XenForo_FrontController->dispatch() in/nfs/c07/h02/mnt/110115/domains/ at line 132
  11. XenForo_FrontController->run() in /nfs/c07/h02/mnt/110115/domains/ at line


Well-known member
I see.. you are using media temple and they apparently rent grid servers:

I would call media temple and ask if everything is ok. In addition I would try to log into your cpanel account and possibly try to use phpmyadmin to see if that is working. It could also be that the hosting provider has made adjustments on your server.


Well-known member
So what do I do?
This is the part I think is important:
Can't connect to MySQL server on '' (111)[/quote]
Something seems to be wrong with your mysql for some reason. My initial wild guess would be that some work was done on your server and something changed.

Jake Bunce

XenForo moderator
Staff member
Now all of a sudden it is working again? WTF
Intermittent database connection errors like this are usually nothing to worry about. Your host is probably performing maintenance. But if the error persists then you should contact your host as Dean suggests.