Unexpected non-MediaWiki exception encountered, of type "RuntimeException"
[ffbfe91b] /wiki/index.php?diff=next&oldid=6312&title=Database_Tables Exception from line 214 of /var/www/wiki/extensions/SemanticMediaWiki/includes/src/MediaWiki/Database.php: 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: CREATE TEMPORARY TABLE `t2`( id INT UNSIGNED KEY ) ENGINE=MEMORY
Function: SMW::executeHierarchyQuery
Error: 1044 Access denied for user 'wikiuser'@'localhost' to database 'wiki' (localhost)
#0 /var/www/wiki/includes/db/Database.php(1123): DatabaseBase->reportQueryError('Access denied f...', 1044, 'CREATE TEMPORAR...', 'SMW::executeHie...', false)
#1 /var/www/wiki/extensions/SemanticMediaWiki/includes/src/MediaWiki/Database.php(212): DatabaseBase->query('CREATE TEMPORAR...', 'SMW::executeHie...', false)
#2 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(1091): SMW\MediaWiki\Database->query('CREATE TEMPORAR...', 'SMW::executeHie...')
#3 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(1030): SMWSQLStore3QueryEngine->executeHierarchyQuery(Object(SMWSQLStore3Query))
#4 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(913): SMWSQLStore3QueryEngine->executeQueries(Object(SMWSQLStore3Query))
#5 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(963): SMWSQLStore3QueryEngine->executeQueries(Object(SMWSQLStore3Query))
#6 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(913): SMWSQLStore3QueryEngine->executeQueries(Object(SMWSQLStore3Query))
#7 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(342): SMWSQLStore3QueryEngine->executeQueries(Object(SMWSQLStore3Query))
#8 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(341): SMWSQLStore3QueryEngine->getQueryResult(Object(SMWQuery))
#9 /var/www/wiki/extensions/SemanticMediaWiki/includes/query/SMW_QueryProcessor.php(498): SMWSQLStore3->getQueryResult(Object(SMWQuery))
#10 /var/www/wiki/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(130): SMWQueryProcessor::getResultFromQuery(Object(SMWQuery), Array, 2, 1)
#11 /var/www/wiki/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(84): SMW\AskParserFunction->runQueryProcessor(Array)
#12 /var/www/wiki/extensions/SemanticMediaWiki/includes/Setup.php(504): SMW\AskParserFunction->parse(Array)
#13 [internal function]: SMW\{closure}(Object(Parser), '[[Category: Dat...', '?Name', '?Description', 'link=none', 'format=template', 'template=Semant...', 'limit=1000')
#14 /var/www/wiki/includes/parser/Parser.php(3620): call_user_func_array(Object(Closure), Array)
#15 /var/www/wiki/includes/parser/Parser.php(3336): Parser->callParserFunction(Object(PPFrame_DOM), '#ask', Array)
#16 /var/www/wiki/includes/parser/Preprocessor_DOM.php(1113): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#17 /var/www/wiki/includes/parser/Parser.php(3153): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#18 /var/www/wiki/includes/parser/Parser.php(1216): Parser->replaceVariables('An overview of ...')
#19 /var/www/wiki/includes/parser/Parser.php(395): Parser->internalParse('An overview of ...')
#20 /var/www/wiki/includes/content/WikitextContent.php(322): Parser->parse('An overview of ...', Object(Title), Object(ParserOptions), true, true, 6408)
#21 /var/www/wiki/includes/WikiPage.php(3614): WikitextContent->getParserOutput(Object(Title), 6408, Object(ParserOptions))
#22 /var/www/wiki/includes/poolcounter/PoolCounterWork.php(112): PoolWorkArticleView->doWork()
#23 /var/www/wiki/includes/WikiPage.php(1169): PoolCounterWork->execute()
#24 /var/www/wiki/includes/diff/DifferenceEngine.php(619): WikiPage->getParserOutput(Object(ParserOptions), 6408)
#25 /var/www/wiki/includes/diff/DifferenceEngine.php(585): DifferenceEngine->getParserOutput(Object(WikiPage), Object(Revision))
#26 /var/www/wiki/includes/diff/DifferenceEngine.php(445): DifferenceEngine->renderNewRevision()
#27 /var/www/wiki/includes/Article.php(826): DifferenceEngine->showDiffPage(false)
#28 /var/www/wiki/includes/Article.php(549): Article->showDiffPage()
#29 /var/www/wiki/includes/actions/ViewAction.php(44): Article->view()
#30 /var/www/wiki/includes/Wiki.php(428): ViewAction->show()
#31 /var/www/wiki/includes/Wiki.php(292): MediaWiki->performAction(Object(Article), Object(Title))
#32 /var/www/wiki/includes/Wiki.php(588): MediaWiki->performRequest()
#33 /var/www/wiki/includes/Wiki.php(447): MediaWiki->main()
#34 /var/www/wiki/index.php(46): MediaWiki->run()
#35 {main}
Backtrace:
#0 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(1091): SMW\MediaWiki\Database->query(string, string)
#1 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(1030): SMWSQLStore3QueryEngine->executeHierarchyQuery(SMWSQLStore3Query)
#2 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(913): SMWSQLStore3QueryEngine->executeQueries(SMWSQLStore3Query)
#3 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(963): SMWSQLStore3QueryEngine->executeQueries(SMWSQLStore3Query)
#4 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(913): SMWSQLStore3QueryEngine->executeQueries(SMWSQLStore3Query)
#5 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(342): SMWSQLStore3QueryEngine->executeQueries(SMWSQLStore3Query)
#6 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(341): SMWSQLStore3QueryEngine->getQueryResult(SMWQuery)
#7 /var/www/wiki/extensions/SemanticMediaWiki/includes/query/SMW_QueryProcessor.php(498): SMWSQLStore3->getQueryResult(SMWQuery)
#8 /var/www/wiki/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(130): SMWQueryProcessor::getResultFromQuery(SMWQuery, array, integer, integer)
#9 /var/www/wiki/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(84): SMW\AskParserFunction->runQueryProcessor(array)
#10 /var/www/wiki/extensions/SemanticMediaWiki/includes/Setup.php(504): SMW\AskParserFunction->parse(array)
#11 [internal function]: SMW\{closure}(Parser, string, string, string, string, string, string, string)
#12 /var/www/wiki/includes/parser/Parser.php(3620): call_user_func_array(Closure, array)
#13 /var/www/wiki/includes/parser/Parser.php(3336): Parser->callParserFunction(PPFrame_DOM, string, array)
#14 /var/www/wiki/includes/parser/Preprocessor_DOM.php(1113): Parser->braceSubstitution(array, PPFrame_DOM)
#15 /var/www/wiki/includes/parser/Parser.php(3153): PPFrame_DOM->expand(PPNode_DOM, integer)
#16 /var/www/wiki/includes/parser/Parser.php(1216): Parser->replaceVariables(string)
#17 /var/www/wiki/includes/parser/Parser.php(395): Parser->internalParse(string)
#18 /var/www/wiki/includes/content/WikitextContent.php(322): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#19 /var/www/wiki/includes/WikiPage.php(3614): WikitextContent->getParserOutput(Title, integer, ParserOptions)
#20 /var/www/wiki/includes/poolcounter/PoolCounterWork.php(112): PoolWorkArticleView->doWork()
#21 /var/www/wiki/includes/WikiPage.php(1169): PoolCounterWork->execute()
#22 /var/www/wiki/includes/diff/DifferenceEngine.php(619): WikiPage->getParserOutput(ParserOptions, integer)
#23 /var/www/wiki/includes/diff/DifferenceEngine.php(585): DifferenceEngine->getParserOutput(WikiPage, Revision)
#24 /var/www/wiki/includes/diff/DifferenceEngine.php(445): DifferenceEngine->renderNewRevision()
#25 /var/www/wiki/includes/Article.php(826): DifferenceEngine->showDiffPage(boolean)
#26 /var/www/wiki/includes/Article.php(549): Article->showDiffPage()
#27 /var/www/wiki/includes/actions/ViewAction.php(44): Article->view()
#28 /var/www/wiki/includes/Wiki.php(428): ViewAction->show()
#29 /var/www/wiki/includes/Wiki.php(292): MediaWiki->performAction(Article, Title)
#30 /var/www/wiki/includes/Wiki.php(588): MediaWiki->performRequest()
#31 /var/www/wiki/includes/Wiki.php(447): MediaWiki->main()
#32 /var/www/wiki/index.php(46): MediaWiki->run()
#33 {main}