MediaWiki internal error.

Original exception: [2ae6ef125c9ef00be2fb4774] /wiki/Item:Q471735 Wikimedia\Rdbms\DBQueryDisconnectedError: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading or after adding a new extension?

Please see https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Upgrading and https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:How_to_debug for more information.

A connection error occurred during a query.
Query: SELECT rev_id,rev_timestamp,page_latest,page_is_redirect,page_title FROM `page` JOIN `revision` ON ((page_latest=rev_id)) WHERE (((page_title = 'Q3991930' AND page_namespace = 120)))
Function: Wikibase\Lib\Store\Sql\PageTableEntityQueryBase::selectRows
Error: 2006 MySQL server has gone away

Backtrace:
from /var/www/html/includes/libs/rdbms/database/Database.php(1196)
#0 /var/www/html/includes/libs/rdbms/database/Database.php(1182): Wikimedia\Rdbms\Database->getQueryException(string, int, string, string)
#1 /var/www/html/includes/libs/rdbms/database/Database.php(1156): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, int, string, string)
#2 /var/www/html/includes/libs/rdbms/database/Database.php(647): Wikimedia\Rdbms\Database->reportQueryError(string, int, string, string, bool)
#3 /var/www/html/includes/libs/rdbms/database/Database.php(1345): Wikimedia\Rdbms\Database->query(Wikimedia\Rdbms\Query, string)
#4 /var/www/html/includes/libs/rdbms/database/DBConnRef.php(127): Wikimedia\Rdbms\Database->select(array, array, array, string, array, array)
#5 /var/www/html/includes/libs/rdbms/database/DBConnRef.php(351): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#6 /var/www/html/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php(745): Wikimedia\Rdbms\DBConnRef->select(array, array, array, string, array, array)
#7 /var/www/html/extensions/Wikibase/lib/includes/Store/Sql/PageTableEntityQueryBase.php(62): Wikimedia\Rdbms\SelectQueryBuilder->fetchResultSet()
#8 /var/www/html/extensions/Wikibase/lib/includes/Store/Sql/WikiPageEntityMetaDataLookup.php(257): Wikibase\Lib\Store\Sql\PageTableEntityQueryBase->selectRows(array, array, array, Wikimedia\Rdbms\DBConnRef)
#9 /var/www/html/extensions/Wikibase/lib/includes/Store/Sql/WikiPageEntityMetaDataLookup.php(76): Wikibase\Lib\Store\Sql\WikiPageEntityMetaDataLookup->selectRevisionInformationMultiple(array, Wikimedia\Rdbms\DBConnRef)
#10 /var/www/html/extensions/Wikibase/lib/includes/Store/Sql/TypeDispatchingWikiPageEntityMetaDataAccessor.php(88): Wikibase\Lib\Store\Sql\WikiPageEntityMetaDataLookup->loadRevisionInformation(array, string)
#11 /var/www/html/extensions/Wikibase/lib/includes/Store/Sql/PrefetchingWikiPageEntityMetaDataAccessor.php(267): Wikibase\Lib\Store\Sql\TypeDispatchingWikiPageEntityMetaDataAccessor->loadRevisionInformation(array, string)
#12 /var/www/html/extensions/Wikibase/lib/includes/Store/Sql/PrefetchingWikiPageEntityMetaDataAccessor.php(189): Wikibase\Lib\Store\Sql\PrefetchingWikiPageEntityMetaDataAccessor->doFetch(string)
#13 /var/www/html/extensions/Wikibase/lib/includes/Store/Sql/WikiPageEntityRevisionLookup.php(172): Wikibase\Lib\Store\Sql\PrefetchingWikiPageEntityMetaDataAccessor->loadRevisionInformation(array, string)
#14 /var/www/html/extensions/Wikibase/lib/includes/Store/TypeDispatchingEntityRevisionLookup.php(68): Wikibase\Lib\Store\Sql\WikiPageEntityRevisionLookup->getLatestRevisionId(Wikibase\DataModel\Entity\ItemId, string)
#15 /var/www/html/extensions/Wikibase/data-access/src/ByTypeDispatchingEntityRevisionLookup.php(64): Wikibase\Lib\Store\TypeDispatchingEntityRevisionLookup->getLatestRevisionId(Wikibase\DataModel\Entity\ItemId, string)
#16 /var/www/html/extensions/Wikibase/lib/includes/Store/TypeDispatchingEntityRevisionLookup.php(68): Wikibase\DataAccess\ByTypeDispatchingEntityRevisionLookup->getLatestRevisionId(Wikibase\DataModel\Entity\ItemId, string)
#17 /var/www/html/extensions/Wikibase/lib/includes/Store/CacheRetrievingEntityRevisionLookup.php(160): Wikibase\Lib\Store\TypeDispatchingEntityRevisionLookup->getLatestRevisionId(Wikibase\DataModel\Entity\ItemId, string)
#18 /var/www/html/extensions/Wikibase/lib/includes/Store/CachingEntityRevisionLookup.php(126): Wikibase\Lib\Store\CacheRetrievingEntityRevisionLookup->getLatestRevisionId(Wikibase\DataModel\Entity\ItemId, string)
#19 /var/www/html/extensions/Wikibase/lib/includes/Store/CacheRetrievingEntityRevisionLookup.php(160): Wikibase\Lib\Store\CachingEntityRevisionLookup->getLatestRevisionId(Wikibase\DataModel\Entity\ItemId, string)
#20 /var/www/html/extensions/Wikibase/lib/includes/Store/CachingEntityRevisionLookup.php(126): Wikibase\Lib\Store\CacheRetrievingEntityRevisionLookup->getLatestRevisionId(Wikibase\DataModel\Entity\ItemId, string)
#21 /var/www/html/extensions/Wikibase/lib/includes/Store/RedirectResolvingLatestRevisionLookup.php(36): Wikibase\Lib\Store\CachingEntityRevisionLookup->getLatestRevisionId(Wikibase\DataModel\Entity\ItemId)
#22 /var/www/html/extensions/Wikibase/lib/includes/Store/CachingFallbackLabelDescriptionLookup.php(109): Wikibase\Lib\Store\RedirectResolvingLatestRevisionLookup->lookupLatestRevisionResolvingRedirect(Wikibase\DataModel\Entity\ItemId)
#23 /var/www/html/extensions/Wikibase/lib/includes/Store/CachingFallbackLabelDescriptionLookup.php(103): Wikibase\Lib\Store\CachingFallbackLabelDescriptionLookup->getTerm(Wikibase\DataModel\Entity\ItemId, string, string)
#24 /var/www/html/extensions/Wikibase/lib/packages/wikibase/data-model-services/src/EntityId/EntityIdLabelFormatter.php(53): Wikibase\Lib\Store\CachingFallbackLabelDescriptionLookup->getLabel(Wikibase\DataModel\Entity\ItemId)
#25 /var/www/html/extensions/Wikibase/lib/includes/Formatters/ItemPropertyIdHtmlLinkFormatter.php(65): Wikibase\DataModel\Services\EntityId\EntityIdLabelFormatter->lookupEntityLabel(Wikibase\DataModel\Entity\ItemId)
#26 /var/www/html/extensions/Wikibase/lib/includes/Formatters/EntityIdValueFormatter.php(44): Wikibase\Lib\Formatters\ItemPropertyIdHtmlLinkFormatter->formatEntityId(Wikibase\DataModel\Entity\ItemId)
#27 /var/www/html/extensions/Wikibase/lib/includes/Formatters/DispatchingValueFormatter.php(72): Wikibase\Lib\Formatters\EntityIdValueFormatter->format(Wikibase\DataModel\Entity\EntityIdValue)
#28 /var/www/html/extensions/Wikibase/lib/includes/Formatters/PropertyValueSnakFormatter.php(148): Wikibase\Lib\Formatters\DispatchingValueFormatter->formatValue(Wikibase\DataModel\Entity\EntityIdValue, string)
#29 /var/www/html/extensions/Wikibase/lib/includes/Formatters/PropertyValueSnakFormatter.php(117): Wikibase\Lib\Formatters\PropertyValueSnakFormatter->formatValue(Wikibase\DataModel\Entity\EntityIdValue, string)
#30 /var/www/html/extensions/Wikibase/lib/includes/Formatters/DispatchingSnakFormatter.php(150): Wikibase\Lib\Formatters\PropertyValueSnakFormatter->formatSnak(Wikibase\DataModel\Snak\PropertyValueSnak)
#31 /var/www/html/extensions/Wikibase/lib/includes/Formatters/ErrorHandlingSnakFormatter.php(68): Wikibase\Lib\Formatters\DispatchingSnakFormatter->formatSnak(Wikibase\DataModel\Snak\PropertyValueSnak)
#32 /var/www/html/extensions/Wikibase/view/src/SnakHtmlGenerator.php(129): Wikibase\Lib\Formatters\ErrorHandlingSnakFormatter->formatSnak(Wikibase\DataModel\Snak\PropertyValueSnak)
#33 /var/www/html/extensions/Wikibase/view/src/SnakHtmlGenerator.php(79): Wikibase\View\SnakHtmlGenerator->getFormattedSnakValue(Wikibase\DataModel\Snak\PropertyValueSnak)
#34 /var/www/html/extensions/Wikibase/view/src/StatementHtmlGenerator.php(80): Wikibase\View\SnakHtmlGenerator->getSnakHtml(Wikibase\DataModel\Snak\PropertyValueSnak, bool)
#35 /var/www/html/extensions/Wikibase/view/src/StatementGroupListView.php(163): Wikibase\View\StatementHtmlGenerator->getHtmlForStatement(Wikibase\DataModel\Statement\Statement, string)
#36 /var/www/html/extensions/Wikibase/view/src/StatementGroupListView.php(145): Wikibase\View\StatementGroupListView->getHtmlForStatementListView(array, string)
#37 /var/www/html/extensions/Wikibase/view/src/StatementGroupListView.php(75): Wikibase\View\StatementGroupListView->getHtmlForStatementGroupView(array, string)
#38 /var/www/html/extensions/Wikibase/view/src/StatementSectionsView.php(71): Wikibase\View\StatementGroupListView->getHtml(array)
#39 /var/www/html/extensions/Wikibase/view/src/ItemView.php(123): Wikibase\View\StatementSectionsView->getHtml(Wikibase\DataModel\Statement\StatementList)
#40 /var/www/html/extensions/Wikibase/view/src/EntityView.php(56): Wikibase\View\ItemView->getMainHtml(Wikibase\DataModel\Entity\Item)
#41 /var/www/html/extensions/Wikibase/view/src/ItemView.php(103): Wikibase\View\EntityView->renderEntityView(Wikibase\DataModel\Entity\Item)
#42 /var/www/html/extensions/Wikibase/repo/includes/ParserOutput/FullEntityParserOutputGenerator.php(147): Wikibase\View\ItemView->getContent(Wikibase\DataModel\Entity\Item, int)
#43 /var/www/html/extensions/Wikibase/repo/includes/ParserOutput/FullEntityParserOutputGenerator.php(101): Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator->addHtmlToParserOutput(MediaWiki\Parser\ParserOutput, Wikibase\Lib\Store\EntityRevision)
#44 /var/www/html/extensions/Wikibase/repo/includes/ParserOutput/StatsdTimeRecordingEntityParserOutputGenerator.php(53): Wikibase\Repo\ParserOutput\FullEntityParserOutputGenerator->getParserOutput(Wikibase\Lib\Store\EntityRevision, bool)
#45 /var/www/html/extensions/Wikibase/repo/includes/Content/EntityHandler.php(861): Wikibase\Repo\ParserOutput\StatsdTimeRecordingEntityParserOutputGenerator->getParserOutput(Wikibase\Lib\Store\EntityRevision, bool)
#46 /var/www/html/extensions/Wikibase/repo/includes/Content/ItemHandler.php(302): Wikibase\Repo\Content\EntityHandler->getParserOutputFromEntityView(Wikibase\Repo\Content\ItemContent, int, MediaWiki\Parser\ParserOptions, bool)
#47 /var/www/html/extensions/Wikibase/repo/includes/Content/EntityHandler.php(790): Wikibase\Repo\Content\ItemHandler->getParserOutputFromEntityView(Wikibase\Repo\Content\ItemContent, int, MediaWiki\Parser\ParserOptions, bool)
#48 /var/www/html/includes/content/ContentHandler.php(1692): Wikibase\Repo\Content\EntityHandler->fillParserOutput(Wikibase\Repo\Content\ItemContent, MediaWiki\Content\Renderer\ContentParseParams, MediaWiki\Parser\ParserOutput)
#49 /var/www/html/includes/content/Renderer/ContentRenderer.php(79): MediaWiki\Content\ContentHandler->getParserOutput(Wikibase\Repo\Content\ItemContent, MediaWiki\Content\Renderer\ContentParseParams)
#50 /var/www/html/includes/Revision/RenderedRevision.php(264): MediaWiki\Content\Renderer\ContentRenderer->getParserOutput(Wikibase\Repo\Content\ItemContent, MediaWiki\Title\Title, MediaWiki\Revision\RevisionStoreRecord, MediaWiki\Parser\ParserOptions, array)
#51 /var/www/html/includes/Revision/RenderedRevision.php(236): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(Wikibase\Repo\Content\ItemContent, array)
#52 /var/www/html/includes/Revision/RevisionRenderer.php(239): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string, array)
#53 /var/www/html/includes/Revision/RevisionRenderer.php(172): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, MediaWiki\Parser\ParserOptions, array)
#54 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)
#55 /var/www/html/includes/Revision/RenderedRevision.php(199): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array)
#56 /var/www/html/includes/poolcounter/PoolWorkArticleView.php(106): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#57 /var/www/html/includes/poolcounter/PoolWorkArticleViewCurrent.php(123): MediaWiki\PoolCounter\PoolWorkArticleView->renderRevision(null, bool, string)
#58 /var/www/html/includes/poolcounter/PoolCounterWork.php(171): MediaWiki\PoolCounter\PoolWorkArticleViewCurrent->doWork()
#59 /var/www/html/includes/page/ParserOutputAccess.php(362): MediaWiki\PoolCounter\PoolCounterWork->execute()
#60 /var/www/html/includes/page/Article.php(828): MediaWiki\Page\ParserOutputAccess->getParserOutput(WikiPage, MediaWiki\Parser\ParserOptions, MediaWiki\Revision\RevisionStoreRecord, int)
#61 /var/www/html/includes/page/Article.php(547): Article->generateContentOutput(MediaWiki\User\User, MediaWiki\Parser\ParserOptions, int, MediaWiki\Output\OutputPage, array)
#62 /var/www/html/extensions/Wikibase/repo/includes/Actions/ViewEntityAction.php(80): Article->view()
#63 /var/www/html/extensions/Wikibase/repo/includes/Actions/ViewEntityAction.php(55): Wikibase\Repo\Actions\ViewEntityAction->showEntityPage()
#64 /var/www/html/includes/actions/ActionEntryPoint.php(733): Wikibase\Repo\Actions\ViewEntityAction->show()
#65 /var/www/html/includes/actions/ActionEntryPoint.php(510): MediaWiki\Actions\ActionEntryPoint->performAction(Article, MediaWiki\Title\Title)
#66 /var/www/html/includes/actions/ActionEntryPoint.php(146): MediaWiki\Actions\ActionEntryPoint->performRequest()
#67 /var/www/html/includes/MediaWikiEntryPoint.php(200): MediaWiki\Actions\ActionEntryPoint->execute()
#68 /var/www/html/index.php(58): MediaWiki\MediaWikiEntryPoint->run()
#69 {main}

Exception caught inside exception handler: [2ae6ef125c9ef00be2fb4774] /wiki/Item:Q471735 Wikimedia\Rdbms\DBConnectionError: Cannot access the database: Connection refused (mysql.svc:3306)
Backtrace:
from /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1129)
#0 /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php(817): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()
#1 /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php(784): Wikimedia\Rdbms\LoadBalancer->getServerConnection(int, string, int)
#2 /var/www/html/includes/libs/rdbms/database/DBConnRef.php(111): Wikimedia\Rdbms\LoadBalancer->getConnectionInternal(int, array, string, int)
#3 /var/www/html/includes/libs/rdbms/database/DBConnRef.php(125): Wikimedia\Rdbms\DBConnRef->ensureConnection()
#4 /var/www/html/includes/libs/rdbms/database/DBConnRef.php(351): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#5 /var/www/html/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php(745): Wikimedia\Rdbms\DBConnRef->select(array, array, array, string, array, array)
#6 /var/www/html/includes/page/PageProps.php(122): Wikimedia\Rdbms\SelectQueryBuilder->fetchResultSet()
#7 /var/www/html/extensions/DisplayTitle/includes/DisplayTitleService.php(204): MediaWiki\Page\PageProps->getProperties(MediaWiki\Title\Title, array)
#8 /var/www/html/extensions/DisplayTitle/includes/DisplayTitleService.php(239): MediaWiki\Extension\DisplayTitle\DisplayTitleService->getDisplayTitle(MediaWiki\Title\Title, null)
#9 /var/www/html/extensions/DisplayTitle/includes/DisplayTitleHooks.php(169): MediaWiki\Extension\DisplayTitle\DisplayTitleService->setSubtitle(MediaWiki\Output\OutputPage)
#10 /var/www/html/includes/HookContainer/HookContainer.php(159): MediaWiki\Extension\DisplayTitle\DisplayTitleHooks->onBeforePageDisplay(MediaWiki\Output\OutputPage, Skins\Chameleon\Chameleon)
#11 /var/www/html/includes/HookContainer/HookRunner.php(984): MediaWiki\HookContainer\HookContainer->run(string, array, array)
#12 /var/www/html/includes/Output/OutputPage.php(3186): MediaWiki\HookContainer\HookRunner->onBeforePageDisplay(MediaWiki\Output\OutputPage, Skins\Chameleon\Chameleon)
#13 /var/www/html/includes/exception/MWExceptionRenderer.php(190): MediaWiki\Output\OutputPage->output()
#14 /var/www/html/includes/exception/MWExceptionRenderer.php(109): MWExceptionRenderer::reportHTML(Wikimedia\Rdbms\DBQueryDisconnectedError)
#15 /var/www/html/includes/exception/MWExceptionHandler.php(133): MWExceptionRenderer::output(Wikimedia\Rdbms\DBQueryDisconnectedError, int)
#16 /var/www/html/includes/exception/MWExceptionHandler.php(237): MWExceptionHandler::report(Wikimedia\Rdbms\DBQueryDisconnectedError)
#17 /var/www/html/includes/MediaWikiEntryPoint.php(222): MWExceptionHandler::handleException(Wikimedia\Rdbms\DBQueryDisconnectedError, string)
#18 /var/www/html/includes/actions/ActionEntryPoint.php(82): MediaWiki\MediaWikiEntryPoint->handleTopLevelError(Wikimedia\Rdbms\DBQueryDisconnectedError)
#19 /var/www/html/includes/MediaWikiEntryPoint.php(206): MediaWiki\Actions\ActionEntryPoint->handleTopLevelError(Wikimedia\Rdbms\DBQueryDisconnectedError)
#20 /var/www/html/index.php(58): MediaWiki\MediaWikiEntryPoint->run()
#21 {main}