MediaWiki internal error.

Original exception: exception 'DBQueryError' with message 'A database error has occurred
Query: SELECT page_title,old_text,old_flags FROM `wiki_page`,`wiki_revision`,`wiki_text` WHERE page_is_redirect = '0' AND page_namespace = '8' AND (page_title not like '%%/%%') AND (page_latest=rev_id) AND (rev_text_id=old_id) AND (page_len <= 10000)
Function: MessageCache::loadFromDB
Error: 1146 Table 'nom.wiki_text' doesn't exist (localhost)
' in /home/nom/public_html/BioHazardWiki/includes/db/Database.php:661
Stack trace:
#0 /home/nom/public_html/BioHazardWiki/includes/db/Database.php(616): Database->reportQueryError('Table 'nom.wiki...', 1146, 'SELECT page_ti...', 'MessageCache::l...', false)
#1 /home/nom/public_html/BioHazardWiki/includes/db/Database.php(1026): Database->query('SELECT page_ti...', 'MessageCache::l...')
#2 /home/nom/public_html/BioHazardWiki/includes/MessageCache.php(353): Database->select(Array, Array, Array, 'MessageCache::l...')
#3 /home/nom/public_html/BioHazardWiki/includes/MessageCache.php(268): MessageCache->loadFromDB('en')
#4 /home/nom/public_html/BioHazardWiki/includes/MessageCache.php(589): MessageCache->load('en')
#5 /home/nom/public_html/BioHazardWiki/includes/MessageCache.php(526): MessageCache->getMsgFromNamespace('Revertmerge', 'en')
#6 [internal function]: MessageCache->get('revertmerge', true, false)
#7 /home/nom/public_html/BioHazardWiki/includes/StubObject.php(58): call_user_func_array(Array, Array)
#8 /home/nom/public_html/BioHazardWiki/includes/StubObject.php(76): StubObject->_call('get', Array)
#9 /home/nom/public_html/BioHazardWiki/includes/GlobalFunctions.php(598): StubObject->__call('get', Array)
#10 /home/nom/public_html/BioHazardWiki/includes/GlobalFunctions.php(598): StubObject->get('revertmerge', true, false)
#11 /home/nom/public_html/BioHazardWiki/includes/GlobalFunctions.php(731): wfMsgGetKey('revertmerge', true, false, false)
#12 /home/nom/public_html/BioHazardWiki/includes/LogEventsList.php(45): wfMsgExt('revertmerge', Array)
#13 /home/nom/public_html/BioHazardWiki/includes/LogEventsList.php(31): LogEventsList->preCacheMessages()
#14 /home/nom/public_html/BioHazardWiki/includes/Article.php(1046): LogEventsList->__construct(Object(SkinMonoBook), Object(OutputPage))
#15 /home/nom/public_html/BioHazardWiki/includes/Article.php(880): Article->showDeletionLog()
#16 /home/nom/public_html/BioHazardWiki/includes/Wiki.php(450): Article->view()
#17 /home/nom/public_html/BioHazardWiki/includes/Wiki.php(63): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#18 /home/nom/public_html/BioHazardWiki/index.php(116): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#19 {main}

Exception caught inside exception handler: exception 'DBUnexpectedError' with message 'Error in fetchObject(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) (localhost)' in /home/nom/public_html/BioHazardWiki/includes/db/Database.php:788
Stack trace:
#0 /home/nom/public_html/BioHazardWiki/includes/MessageCache.php(340): Database->fetchObject(false)
#1 /home/nom/public_html/BioHazardWiki/includes/MessageCache.php(268): MessageCache->loadFromDB('en')
#2 /home/nom/public_html/BioHazardWiki/includes/MessageCache.php(589): MessageCache->load('en')
#3 /home/nom/public_html/BioHazardWiki/includes/MessageCache.php(526): MessageCache->getMsgFromNamespace('Databaseerror', 'en')
#4 /home/nom/public_html/BioHazardWiki/includes/GlobalFunctions.php(598): MessageCache->get('databaseerror', true, false)
#5 /home/nom/public_html/BioHazardWiki/includes/GlobalFunctions.php(563): wfMsgGetKey('databaseerror', true, false, true)
#6 /home/nom/public_html/BioHazardWiki/includes/Exception.php(70): wfMsgReal('databaseerror', Array)
#7 /home/nom/public_html/BioHazardWiki/includes/db/Database.php(2721): MWException->msg('databaseerror', 'Database error')
#8 /home/nom/public_html/BioHazardWiki/includes/Exception.php(148): DBQueryError->getPageTitle()
#9 /home/nom/public_html/BioHazardWiki/includes/Exception.php(186): MWException->reportHTML()
#10 /home/nom/public_html/BioHazardWiki/includes/Exception.php(284): MWException->report()
#11 /home/nom/public_html/BioHazardWiki/includes/Exception.php(344): wfReportException(Object(DBQueryError))
#12 [internal function]: wfExceptionHandler(Object(DBQueryError))
#13 {main}