Warning: mysqli::query(): MySQL server has gone away in /home/akimoto/public_html/wiki/includes/libs/rdbms/database/DatabaseMysqli.php on line 47

Warning: mysqli::query(): Error reading result set's header in /home/akimoto/public_html/wiki/includes/libs/rdbms/database/DatabaseMysqli.php on line 47
MediaWiki internal error.

Original exception: [Zgapg9IQEdMvmpvf7neiwgAAADk] /wiki/index.php?title=File:NakanishiAyaka2011.jpeg&oldid=9061 Wikimedia\Rdbms\DBQueryError from line 1149 of /home/akimoto/public_html/wiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
Query: SELECT oi_name,oi_archive_name,oi_size,oi_width,oi_height,oi_metadata,oi_bits,oi_media_type,oi_major_mime,oi_minor_mime,oi_user,oi_user_text,oi_timestamp,oi_deleted,oi_sha1,oi_description AS `oi_description_text`,NULL AS `oi_description_data`,NULL AS `oi_description_cid` FROM `wiki_oldimage` FORCE INDEX (oi_name_timestamp) WHERE (oi_name = 'NakanishiAyaka2011.jpeg') ORDER BY oi_timestamp DESC LIMIT 10
Function: LocalFile::getHistory
Error: 2002 Connection refused (localhost)

Backtrace:
#0 /home/akimoto/public_html/wiki/includes/libs/rdbms/database/Database.php(979): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#1 /home/akimoto/public_html/wiki/includes/libs/rdbms/database/Database.php(1343): Wikimedia\Rdbms\Database->query(string, string)
#2 /home/akimoto/public_html/wiki/includes/filerepo/file/LocalFile.php(1100): Wikimedia\Rdbms\Database->select(array, array, array, string, array, array)
#3 /home/akimoto/public_html/wiki/includes/page/ImageHistoryPseudoPager.php(159): LocalFile->getHistory(integer, string, NULL, boolean)
#4 /home/akimoto/public_html/wiki/includes/page/ImageHistoryPseudoPager.php(101): ImageHistoryPseudoPager->doQuery()
#5 /home/akimoto/public_html/wiki/includes/page/ImagePage.php(780): ImageHistoryPseudoPager->getBody()
#6 /home/akimoto/public_html/wiki/includes/page/ImagePage.php(170): ImagePage->imageHistory()
#7 /home/akimoto/public_html/wiki/includes/actions/ViewAction.php(68): ImagePage->view()
#8 /home/akimoto/public_html/wiki/includes/MediaWiki.php(499): ViewAction->show()
#9 /home/akimoto/public_html/wiki/includes/MediaWiki.php(293): MediaWiki->performAction(ImagePage, Title)
#10 /home/akimoto/public_html/wiki/includes/MediaWiki.php(851): MediaWiki->performRequest()
#11 /home/akimoto/public_html/wiki/includes/MediaWiki.php(523): MediaWiki->main()
#12 /home/akimoto/public_html/wiki/index.php(43): MediaWiki->run()
#13 {main}

Exception caught inside exception handler: [Zgapg9IQEdMvmpvf7neiwgAAADk] /wiki/index.php?title=File:NakanishiAyaka2011.jpeg&oldid=9061 Wikimedia\Rdbms\DBConnectionError from line 800 of /home/akimoto/public_html/wiki/includes/libs/rdbms/database/Database.php: Cannot access the database: Connection refused (localhost)
Backtrace:
#0 /home/akimoto/public_html/wiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1029): Wikimedia\Rdbms\Database->reportConnectionError(string)
#1 /home/akimoto/public_html/wiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(671): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()
#2 /home/akimoto/public_html/wiki/includes/GlobalFunctions.php(2858): Wikimedia\Rdbms\LoadBalancer->getConnection(integer, array, boolean)
#3 /home/akimoto/public_html/wiki/includes/cache/localisation/LCStoreDB.php(45): wfGetDB(integer)
#4 /home/akimoto/public_html/wiki/includes/cache/localisation/LocalisationCache.php(392): LCStoreDB->get(string, string)
#5 /home/akimoto/public_html/wiki/includes/cache/localisation/LocalisationCache.php(291): LocalisationCache->loadSubitem(string, string, string)
#6 /home/akimoto/public_html/wiki/languages/Language.php(2587): LocalisationCache->getSubitem(string, string, string)
#7 /home/akimoto/public_html/wiki/includes/cache/MessageCache.php(933): Language->getMessage(string)
#8 /home/akimoto/public_html/wiki/includes/cache/MessageCache.php(888): MessageCache->getMessageForLang(Language, string, boolean, array)
#9 /home/akimoto/public_html/wiki/includes/cache/MessageCache.php(829): MessageCache->getMessageFromFallbackChain(Language, string, boolean)
#10 /home/akimoto/public_html/wiki/includes/Message.php(1275): MessageCache->get(string, boolean, Language)
#11 /home/akimoto/public_html/wiki/includes/Message.php(842): Message->fetchMessage()
#12 /home/akimoto/public_html/wiki/includes/Message.php(971): Message->toString(string)
#13 /home/akimoto/public_html/wiki/includes/exception/MWExceptionRenderer.php(133): Message->escaped()
#14 /home/akimoto/public_html/wiki/includes/exception/MWExceptionRenderer.php(54): MWExceptionRenderer::reportHTML(Wikimedia\Rdbms\DBQueryError)
#15 /home/akimoto/public_html/wiki/includes/exception/MWExceptionHandler.php(75): MWExceptionRenderer::output(Wikimedia\Rdbms\DBQueryError, integer)
#16 /home/akimoto/public_html/wiki/includes/exception/MWExceptionHandler.php(130): MWExceptionHandler::report(Wikimedia\Rdbms\DBQueryError)
#17 /home/akimoto/public_html/wiki/includes/MediaWiki.php(550): MWExceptionHandler::handleException(Wikimedia\Rdbms\DBQueryError)
#18 /home/akimoto/public_html/wiki/index.php(43): MediaWiki->run()
#19 {main}

Warning: Error while sending QUERY packet. PID=27913 in /home/akimoto/public_html/wiki/includes/libs/rdbms/database/DatabaseMysqli.php on line 47