MediaWiki internal error.

Original exception: exception 'DBQueryError' with message 'A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT value,exptime FROM `objectcache` WHERE keyname = 'thegiant_wiki2:resourceloader:filter:minify-js:7:a2490b774081bb6cfc7268d6aa3aa625' LIMIT 1
Function: SqlBagOStuff::get
Error: 1317 Query execution was interrupted (localhost)
' in /home/thegiant/public_html/wiki/includes/db/Database.php:918
Stack trace:
#0 /home/thegiant/public_html/wiki/includes/db/Database.php(885): DatabaseBase->reportQueryError('Query execution...', 1317, 'SELECT value,e...', 'SqlBagOStuff::g...', false)
#1 /home/thegiant/public_html/wiki/includes/db/Database.php(1358): DatabaseBase->query('SELECT value,e...', 'SqlBagOStuff::g...')
#2 /home/thegiant/public_html/wiki/includes/db/Database.php(1445): DatabaseBase->select('objectcache', Array, Array, 'SqlBagOStuff::g...', Array, Array)
#3 /home/thegiant/public_html/wiki/includes/objectcache/SqlBagOStuff.php(124): DatabaseBase->selectRow('objectcache', Array, Array, 'SqlBagOStuff::g...')
#4 /home/thegiant/public_html/wiki/includes/resourceloader/ResourceLoader.php(149): SqlBagOStuff->get('thegiant_wiki2:...')
#5 /home/thegiant/public_html/wiki/includes/resourceloader/ResourceLoader.php(801): ResourceLoader->filter('minify-js', 'mw.loader.imple...')
#6 /home/thegiant/public_html/wiki/includes/OutputPage.php(2599): ResourceLoader->makeModuleResponse(Object(ResourceLoaderContext), Array)
#7 /home/thegiant/public_html/wiki/includes/OutputPage.php(2688): OutputPage->makeResourceLoaderLink(Array, 'combined')
#8 /home/thegiant/public_html/wiki/includes/SkinTemplate.php(467): OutputPage->getHeadScripts()
#9 /home/thegiant/public_html/wiki/includes/OutputPage.php(1982): SkinTemplate->outputPage()
#10 /home/thegiant/public_html/wiki/includes/Wiki.php(406): OutputPage->output()
#11 /home/thegiant/public_html/wiki/includes/Wiki.php(594): MediaWiki->finalCleanup()
#12 /home/thegiant/public_html/wiki/includes/Wiki.php(503): MediaWiki->main()
#13 /home/thegiant/public_html/wiki/index.php(58): MediaWiki->run()
#14 {main}

Exception caught inside exception handler: exception 'DBQueryError' with message 'A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT lc_value FROM `l10n_cache` WHERE lc_lang = 'en' AND lc_key = 'messages:databaseerror' LIMIT 1
Function: LCStore_DB::get
Error: 1317 Query execution was interrupted (localhost)
' in /home/thegiant/public_html/wiki/includes/db/Database.php:918
Stack trace:
#0 /home/thegiant/public_html/wiki/includes/db/Database.php(885): DatabaseBase->reportQueryError('Query execution...', 1317, 'SELECT lc_valu...', 'LCStore_DB::get', false)
#1 /home/thegiant/public_html/wiki/includes/db/Database.php(1358): DatabaseBase->query('SELECT lc_valu...', 'LCStore_DB::get')
#2 /home/thegiant/public_html/wiki/includes/db/Database.php(1445): DatabaseBase->select('l10n_cache', Array, Array, 'LCStore_DB::get', Array, Array)
#3 /home/thegiant/public_html/wiki/includes/LocalisationCache.php(892): DatabaseBase->selectRow('l10n_cache', Array, Array, 'LCStore_DB::get')
#4 /home/thegiant/public_html/wiki/includes/LocalisationCache.php(339): LCStore_DB->get('en', 'messages:databa...')
#5 /home/thegiant/public_html/wiki/includes/LocalisationCache.php(240): LocalisationCache->loadSubitem('en', 'messages', 'databaseerror')
#6 /home/thegiant/public_html/wiki/languages/Language.php(1978): LocalisationCache->getSubitem('en', 'messages', 'databaseerror')
#7 /home/thegiant/public_html/wiki/includes/cache/MessageCache.php(647): Language->getMessage('databaseerror')
#8 /home/thegiant/public_html/wiki/includes/GlobalFunctions.php(1427): MessageCache->get('databaseerror', true, false)
#9 /home/thegiant/public_html/wiki/includes/GlobalFunctions.php(1407): wfMsgGetKey('databaseerror', true, false, false)
#10 /home/thegiant/public_html/wiki/includes/GlobalFunctions.php(1337): wfMsgReal('databaseerror', Array, true, false, false)
#11 /home/thegiant/public_html/wiki/includes/Exception.php(92): wfMsgNoTrans('databaseerror', Array)
#12 /home/thegiant/public_html/wiki/includes/db/DatabaseError.php(331): MWException->msg('databaseerror', 'Database error')
#13 /home/thegiant/public_html/wiki/includes/Exception.php(173): DBQueryError->getPageTitle()
#14 /home/thegiant/public_html/wiki/includes/Exception.php(209): MWException->reportHTML()
#15 /home/thegiant/public_html/wiki/includes/Exception.php(490): MWException->report()
#16 /home/thegiant/public_html/wiki/includes/Exception.php(569): MWExceptionHandler::report(Object(DBQueryError))
#17 /home/thegiant/public_html/wiki/includes/Wiki.php(506): MWExceptionHandler::handle(Object(DBQueryError))
#18 /home/thegiant/public_html/wiki/index.php(58): MediaWiki->run()
#19 {main}