Omeka has encountered an error

Zend_Db_Adapter_Mysqli_Exception

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)

exception 'Zend_Db_Adapter_Mysqli_Exception' with message 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)' in /var/www/clinton_omeka/application/libraries/Zend/Db/Adapter/Mysqli.php:340
Stack trace:
#0 /var/www/clinton_omeka/application/libraries/Zend/Db/Adapter/Abstract.php(316): Zend_Db_Adapter_Mysqli->_connect()
#1 /var/www/clinton_omeka/application/libraries/Omeka/Db.php(87): Zend_Db_Adapter_Abstract->getConnection()
#2 /var/www/clinton_omeka/application/libraries/Omeka/Db/Table.php(443): Omeka_Db->__call('fetchOne', Array)
#3 /var/www/clinton_omeka/application/libraries/Omeka/Db/Table.php(443): Omeka_Db->fetchOne(Object(Omeka_Db_Select))
#4 /var/www/clinton_omeka/application/libraries/globals.php(1765): Omeka_Db_Table->count()
#5 /var/www/clinton_omeka/application/libraries/globals.php(2784): total_records('Tag')
#6 /var/www/clinton_omeka/application/views/scripts/items/search.php(10): public_nav_items()
#7 /var/www/clinton_omeka/application/libraries/Omeka/View.php(117): include('/var/www/clinto...')
#8 /var/www/clinton_omeka/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/clinto...')
#9 /var/www/clinton_omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render('items/search.ph...')
#10 /var/www/clinton_omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('items/search.ph...', NULL)
#11 /var/www/clinton_omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#12 /var/www/clinton_omeka/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#13 /var/www/clinton_omeka/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#14 /var/www/clinton_omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('searchAction')
#15 /var/www/clinton_omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#16 /var/www/clinton_omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#17 /var/www/clinton_omeka/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#18 /var/www/clinton_omeka/application/libraries/Omeka/Application.php(77): Zend_Application->run()
#19 /var/www/clinton_omeka/index.php(23): Omeka_Application->run()
#20 {main}

Fatal error: Uncaught exception 'Zend_Db_Adapter_Mysqli_Exception' with message 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)' in /var/www/clinton_omeka/application/libraries/Zend/Db/Adapter/Mysqli.php:340 Stack trace: #0 /var/www/clinton_omeka/application/libraries/Zend/Db/Adapter/Abstract.php(861): Zend_Db_Adapter_Mysqli->_connect() #1 /var/www/clinton_omeka/application/libraries/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote('fv63qejtite33fo...', 'varchar') #2 /var/www/clinton_omeka/application/libraries/Zend/Db/Table/Abstract.php(1340): Zend_Db_Adapter_Abstract->quoteInto('`omeka_sessions...', 'fv63qejtite33fo...', 'varchar') #3 [internal function]: Zend_Db_Table_Abstract->find('fv63qejtite33fo...') #4 /var/www/clinton_omeka/application/libraries/Zend/Session/SaveHandler/DbTable.php(345): call_user_func_array(Array, Array) #5 /var/www/clinton_omeka/application/libraries/Omeka/Session/SaveHandler/DbTable.php(102): Zend_Session_SaveHandler_DbTable->write('fv6 in /var/www/clinton_omeka/application/libraries/Zend/Db/Adapter/Mysqli.php on line 340