Unexpected non-MediaWiki exception encountered, of type "RuntimeException"
[c24eb332] /wiki/index.php?oldid=6002&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 `t1`( 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(913): SMWSQLStore3QueryEngine->executeQueries(Object(SMWSQLStore3Query))
#6 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(342): SMWSQLStore3QueryEngine->executeQueries(Object(SMWSQLStore3Query))
#7 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(341): SMWSQLStore3QueryEngine->getQueryResult(Object(SMWQuery))
#8 /var/www/wiki/extensions/SemanticMediaWiki/includes/query/SMW_QueryProcessor.php(498): SMWSQLStore3->getQueryResult(Object(SMWQuery))
#9 /var/www/wiki/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(130): SMWQueryProcessor::getResultFromQuery(Object(SMWQuery), Array, 2, 1)
#10 /var/www/wiki/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(84): SMW\AskParserFunction->runQueryProcessor(Array)
#11 /var/www/wiki/extensions/SemanticMediaWiki/includes/Setup.php(504): SMW\AskParserFunction->parse(Array)
#12 [internal function]: SMW\{closure}(Object(Parser), '[[Category:Data...', '?Name', '?Description', 'link=none', 'format=template', 'template=Semant...')
#13 /var/www/wiki/includes/parser/Parser.php(3620): call_user_func_array(Object(Closure), Array)
#14 /var/www/wiki/includes/parser/Parser.php(3336): Parser->callParserFunction(Object(PPFrame_DOM), '#ask', Array)
#15 /var/www/wiki/includes/parser/Preprocessor_DOM.php(1113): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#16 /var/www/wiki/includes/parser/Parser.php(3153): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#17 /var/www/wiki/includes/parser/Parser.php(1216): Parser->replaceVariables('An overview of ...')
#18 /var/www/wiki/includes/parser/Parser.php(395): Parser->internalParse('An overview of ...')
#19 /var/www/wiki/includes/content/WikitextContent.php(322): Parser->parse('An overview of ...', Object(Title), Object(ParserOptions), true, true, 6002)
#20 /var/www/wiki/includes/WikiPage.php(3614): WikitextContent->getParserOutput(Object(Title), 6002, Object(ParserOptions))
#21 /var/www/wiki/includes/poolcounter/PoolCounterWork.php(112): PoolWorkArticleView->doWork()
#22 /var/www/wiki/includes/Article.php(710): PoolCounterWork->execute()
#23 /var/www/wiki/includes/actions/ViewAction.php(44): Article->view()
#24 /var/www/wiki/includes/Wiki.php(428): ViewAction->show()
#25 /var/www/wiki/includes/Wiki.php(292): MediaWiki->performAction(Object(Article), Object(Title))
#26 /var/www/wiki/includes/Wiki.php(588): MediaWiki->performRequest()
#27 /var/www/wiki/includes/Wiki.php(447): MediaWiki->main()
#28 /var/www/wiki/index.php(46): MediaWiki->run()
#29 {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(913): SMWSQLStore3QueryEngine->executeQueries(SMWSQLStore3Query)
#4 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php(342): SMWSQLStore3QueryEngine->executeQueries(SMWSQLStore3Query)
#5 /var/www/wiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(341): SMWSQLStore3QueryEngine->getQueryResult(SMWQuery)
#6 /var/www/wiki/extensions/SemanticMediaWiki/includes/query/SMW_QueryProcessor.php(498): SMWSQLStore3->getQueryResult(SMWQuery)
#7 /var/www/wiki/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(130): SMWQueryProcessor::getResultFromQuery(SMWQuery, array, integer, integer)
#8 /var/www/wiki/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php(84): SMW\AskParserFunction->runQueryProcessor(array)
#9 /var/www/wiki/extensions/SemanticMediaWiki/includes/Setup.php(504): SMW\AskParserFunction->parse(array)
#10 [internal function]: SMW\{closure}(Parser, string, string, string, string, string, string)
#11 /var/www/wiki/includes/parser/Parser.php(3620): call_user_func_array(Closure, array)
#12 /var/www/wiki/includes/parser/Parser.php(3336): Parser->callParserFunction(PPFrame_DOM, string, array)
#13 /var/www/wiki/includes/parser/Preprocessor_DOM.php(1113): Parser->braceSubstitution(array, PPFrame_DOM)
#14 /var/www/wiki/includes/parser/Parser.php(3153): PPFrame_DOM->expand(PPNode_DOM, integer)
#15 /var/www/wiki/includes/parser/Parser.php(1216): Parser->replaceVariables(string)
#16 /var/www/wiki/includes/parser/Parser.php(395): Parser->internalParse(string)
#17 /var/www/wiki/includes/content/WikitextContent.php(322): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#18 /var/www/wiki/includes/WikiPage.php(3614): WikitextContent->getParserOutput(Title, integer, ParserOptions)
#19 /var/www/wiki/includes/poolcounter/PoolCounterWork.php(112): PoolWorkArticleView->doWork()
#20 /var/www/wiki/includes/Article.php(710): PoolCounterWork->execute()
#21 /var/www/wiki/includes/actions/ViewAction.php(44): Article->view()
#22 /var/www/wiki/includes/Wiki.php(428): ViewAction->show()
#23 /var/www/wiki/includes/Wiki.php(292): MediaWiki->performAction(Article, Title)
#24 /var/www/wiki/includes/Wiki.php(588): MediaWiki->performRequest()
#25 /var/www/wiki/includes/Wiki.php(447): MediaWiki->main()
#26 /var/www/wiki/index.php(46): MediaWiki->run()
#27 {main}