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(648): Omeka_Db->__call('query', Array)
#3 /var/www/clinton_omeka/application/libraries/Omeka/Db/Table.php(648): Omeka_Db->query(Object(Omeka_Db_Select), Array)
#4 /var/www/clinton_omeka/application/libraries/Omeka/Db/Table.php(281): Omeka_Db_Table->fetchObjects(Object(Omeka_Db_Select))
#5 /var/www/clinton_omeka/plugins/SimplePages/helpers/SimplePageFunctions.php(34): Omeka_Db_Table->findBy(Array)
#6 /var/www/clinton_omeka/plugins/SimplePages/helpers/SimplePageFunctions.php(41): simple_pages_get_links_for_children_pages(14, 0, 'order')
#7 /var/www/clinton_omeka/plugins/SimplePages/helpers/SimplePageFunctions.php(41): simple_pages_get_links_for_children_pages(7, 0, 'order')
#8 /var/www/clinton_omeka/plugins/SimplePages/SimplePagesPlugin.php(293): simple_pages_get_links_for_children_pages(0, 0, 'order', true)
#9 [internal function]: SimplePagesPlugin->filterPublicNavigationMain(Array)
#10 /var/www/clinton_omeka/application/libraries/Omeka/Plugin/Broker.php(273): call_user_func(Array, Array)
#11 /var/www/clinton_omeka/application/libraries/globals.php(324): Omeka_Plugin_Broker->applyFilters('public_navigati...', Array, Array)
#12 /var/www/clinton_omeka/application/libraries/Omeka/Navigation.php(164): apply_filters('public_navigati...', Array)
#13 /var/www/clinton_omeka/application/libraries/Omeka/Navigation.php(294): Omeka_Navigation::createNavigationFromFilter('public_navigati...')
#14 /var/www/clinton_omeka/application/libraries/globals.php(2763): Omeka_Navigation->addPagesFromFilter('public_navigati...')
#15 /var/www/clinton_omeka/themes/ThanksRoy/common/header.php(138): public_nav_main(Array)
#16 /var/www/clinton_omeka/application/libraries/Omeka/View.php(117): include('/var/www/clinto...')
#17 /var/www/clinton_omeka/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/clinto...')
#18 /var/www/clinton_omeka/application/libraries/Zend/View/Helper/Partial.php(109): Zend_View_Abstract->render('common/header.p...')
#19 [internal function]: Zend_View_Helper_Partial->partial('common/header.p...', Array)
#20 /var/www/clinton_omeka/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#21 /var/www/clinton_omeka/application/libraries/globals.php(1661): Zend_View_Abstract->__call('partial', Array)
#22 /var/www/clinton_omeka/application/libraries/globals.php(1661): Omeka_View->partial('common/header.p...', Array)
#23 /var/www/clinton_omeka/application/libraries/globals.php(1675): common('header', Array)
#24 /var/www/clinton_omeka/plugins/SolrSearch/views/shared/results/index.php(14): head(Array)
#25 /var/www/clinton_omeka/application/libraries/Omeka/View.php(117): include('/var/www/clinto...')
#26 /var/www/clinton_omeka/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/clinto...')
#27 /var/www/clinton_omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render('results/index.p...')
#28 /var/www/clinton_omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('results/index.p...', NULL)
#29 /var/www/clinton_omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#30 /var/www/clinton_omeka/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#31 /var/www/clinton_omeka/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#32 /var/www/clinton_omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#33 /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))
#34 /var/www/clinton_omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#35 /var/www/clinton_omeka/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#36 /var/www/clinton_omeka/application/libraries/Omeka/Application.php(77): Zend_Application->run()
#37 /var/www/clinton_omeka/index.php(23): Omeka_Application->run()
#38 {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('bmajb38pclt8ppa...', 'varchar') #2 /var/www/clinton_omeka/application/libraries/Zend/Db/Table/Abstract.php(1340): Zend_Db_Adapter_Abstract->quoteInto('`omeka_sessions...', 'bmajb38pclt8ppa...', 'varchar') #3 [internal function]: Zend_Db_Table_Abstract->find('bmajb38pclt8ppa...') #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('bma in /var/www/clinton_omeka/application/libraries/Zend/Db/Adapter/Mysqli.php on line 340