Jump to content

Topic on Project:Support desk

213.60.68.92 (talkcontribs)

I cannot access the wiki and I am getting this message. No clue what I should do or where to look. Can anyone help?

MediaWiki internal error.

Original exception: [a09cc71b0df637d8fef9c0cc] /mediawiki/index.php/P%C3%A1gina_principal Wikimedia\Rdbms\DBConnectionError: Cannot access the database: Access denied for user 'root'@'localhost' (using password: NO) (localhost) (localhost)

Backtrace:

from C:\xampp\htdocs\mediawiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(1513)

#0 C:\xampp\htdocs\mediawiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(991): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()

#1 C:\xampp\htdocs\mediawiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(963): Wikimedia\Rdbms\LoadBalancer->getServerConnection(integer, string, integer)

#2 C:\xampp\htdocs\mediawiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(1128): Wikimedia\Rdbms\LoadBalancer->getConnection(integer, array, string, integer)

#3 C:\xampp\htdocs\mediawiki\includes\GlobalFunctions.php(2229): Wikimedia\Rdbms\LoadBalancer->getMaintenanceConnectionRef(integer, array, string)

#4 C:\xampp\htdocs\mediawiki\includes\cache\localisation\LCStoreDB.php(57): wfGetDB(integer)

#5 C:\xampp\htdocs\mediawiki\includes\cache\localisation\LocalisationCache.php(448): LCStoreDB->get(string, string)

#6 C:\xampp\htdocs\mediawiki\includes\cache\localisation\LocalisationCache.php(494): LocalisationCache->isExpired(string)

#7 C:\xampp\htdocs\mediawiki\includes\cache\localisation\LocalisationCache.php(370): LocalisationCache->initLanguage(string)

#8 C:\xampp\htdocs\mediawiki\includes\cache\localisation\LocalisationCache.php(311): LocalisationCache->loadItem(string, string)

#9 C:\xampp\htdocs\mediawiki\includes\language\LanguageFallback.php(106): LocalisationCache->getItem(string, string)

#10 C:\xampp\htdocs\mediawiki\includes\language\LanguageFactory.php(158): MediaWiki\Languages\LanguageFallback->getAll(string)

#11 C:\xampp\htdocs\mediawiki\includes\language\LanguageFactory.php(116): MediaWiki\Languages\LanguageFactory->newFromCode(string)

#12 C:\xampp\htdocs\mediawiki\includes\ServiceWiring.php(380): MediaWiki\Languages\LanguageFactory->getLanguage(string)

#13 C:\xampp\htdocs\mediawiki\vendor\wikimedia\services\src\ServiceContainer.php(447): Wikimedia\Services\ServiceContainer::{closure}(MediaWiki\MediaWikiServices)

#14 C:\xampp\htdocs\mediawiki\vendor\wikimedia\services\src\ServiceContainer.php(416): Wikimedia\Services\ServiceContainer->createService(string)

#15 C:\xampp\htdocs\mediawiki\includes\MediaWikiServices.php(279): Wikimedia\Services\ServiceContainer->getService(string)

#16 C:\xampp\htdocs\mediawiki\includes\MediaWikiServices.php(801): MediaWiki\MediaWikiServices->getService(string)

#17 C:\xampp\htdocs\mediawiki\includes\ServiceWiring.php(1712): MediaWiki\MediaWikiServices->getContentLanguage()

#18 C:\xampp\htdocs\mediawiki\vendor\wikimedia\services\src\ServiceContainer.php(447): Wikimedia\Services\ServiceContainer::{closure}(MediaWiki\MediaWikiServices)

#19 C:\xampp\htdocs\mediawiki\vendor\wikimedia\services\src\ServiceContainer.php(416): Wikimedia\Services\ServiceContainer->createService(string)

#20 C:\xampp\htdocs\mediawiki\includes\MediaWikiServices.php(279): Wikimedia\Services\ServiceContainer->getService(string)

#21 C:\xampp\htdocs\mediawiki\includes\MediaWikiServices.php(1688): MediaWiki\MediaWikiServices->getService(string)

#22 C:\xampp\htdocs\mediawiki\includes\session\SessionManager.php(229): MediaWiki\MediaWikiServices->getUserNameUtils()

#23 C:\xampp\htdocs\mediawiki\includes\session\SessionManager.php(135): MediaWiki\Session\SessionManager->__construct()

#24 C:\xampp\htdocs\mediawiki\includes\Setup.php(762): MediaWiki\Session\SessionManager::singleton()

#25 C:\xampp\htdocs\mediawiki\includes\WebStart.php(90): require_once(string)

#26 C:\xampp\htdocs\mediawiki\index.php(44): require(string)

#27 {main}

Exception caught inside exception handler: [a09cc71b0df637d8fef9c0cc] /mediawiki/index.php/P%C3%A1gina_principal Wikimedia\Rdbms\DBConnectionError: Cannot access the database: Access denied for user 'root'@'localhost' (using password: NO) (localhost) (localhost)

Backtrace:

from C:\xampp\htdocs\mediawiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(1513)

#0 C:\xampp\htdocs\mediawiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(991): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()

#1 C:\xampp\htdocs\mediawiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(963): Wikimedia\Rdbms\LoadBalancer->getServerConnection(integer, string, integer)

#2 C:\xampp\htdocs\mediawiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(1128): Wikimedia\Rdbms\LoadBalancer->getConnection(integer, array, string, integer)

#3 C:\xampp\htdocs\mediawiki\includes\GlobalFunctions.php(2229): Wikimedia\Rdbms\LoadBalancer->getMaintenanceConnectionRef(integer, array, string)

#4 C:\xampp\htdocs\mediawiki\includes\cache\localisation\LCStoreDB.php(57): wfGetDB(integer)

#5 C:\xampp\htdocs\mediawiki\includes\cache\localisation\LocalisationCache.php(393): LCStoreDB->get(string, string)

#6 C:\xampp\htdocs\mediawiki\includes\cache\localisation\LocalisationCache.php(311): LocalisationCache->loadItem(string, string)

#7 C:\xampp\htdocs\mediawiki\includes\language\LanguageFallback.php(106): LocalisationCache->getItem(string, string)

#8 C:\xampp\htdocs\mediawiki\includes\language\LanguageFactory.php(158): MediaWiki\Languages\LanguageFallback->getAll(string)

#9 C:\xampp\htdocs\mediawiki\includes\language\LanguageFactory.php(116): MediaWiki\Languages\LanguageFactory->newFromCode(string)

#10 C:\xampp\htdocs\mediawiki\includes\ServiceWiring.php(380): MediaWiki\Languages\LanguageFactory->getLanguage(string)

#11 C:\xampp\htdocs\mediawiki\vendor\wikimedia\services\src\ServiceContainer.php(447): Wikimedia\Services\ServiceContainer::{closure}(MediaWiki\MediaWikiServices)

#12 C:\xampp\htdocs\mediawiki\vendor\wikimedia\services\src\ServiceContainer.php(416): Wikimedia\Services\ServiceContainer->createService(string)

#13 C:\xampp\htdocs\mediawiki\includes\MediaWikiServices.php(279): Wikimedia\Services\ServiceContainer->getService(string)

#14 C:\xampp\htdocs\mediawiki\includes\MediaWikiServices.php(801): MediaWiki\MediaWikiServices->getService(string)

#15 C:\xampp\htdocs\mediawiki\includes\ServiceWiring.php(922): MediaWiki\MediaWikiServices->getContentLanguage()

#16 C:\xampp\htdocs\mediawiki\vendor\wikimedia\services\src\ServiceContainer.php(447): Wikimedia\Services\ServiceContainer::{closure}(MediaWiki\MediaWikiServices)

#17 C:\xampp\htdocs\mediawiki\vendor\wikimedia\services\src\ServiceContainer.php(416): Wikimedia\Services\ServiceContainer->createService(string)

#18 C:\xampp\htdocs\mediawiki\includes\MediaWikiServices.php(279): Wikimedia\Services\ServiceContainer->getService(string)

#19 C:\xampp\htdocs\mediawiki\includes\MediaWikiServices.php(1180): MediaWiki\MediaWikiServices->getService(string)

#20 C:\xampp\htdocs\mediawiki\includes\exception\MWExceptionRenderer.php(377): MediaWiki\MediaWikiServices->getMessageCache()

#21 C:\xampp\htdocs\mediawiki\includes\exception\MWExceptionRenderer.php(75): MWExceptionRenderer::reportOutageHTML(Wikimedia\Rdbms\DBConnectionError)

#22 C:\xampp\htdocs\mediawiki\includes\exception\MWExceptionHandler.php(107): MWExceptionRenderer::output(Wikimedia\Rdbms\DBConnectionError, integer)

#23 C:\xampp\htdocs\mediawiki\includes\exception\MWExceptionHandler.php(202): MWExceptionHandler::report(Wikimedia\Rdbms\DBConnectionError)

#24 C:\xampp\htdocs\mediawiki\includes\exception\MWExceptionHandler.php(170): MWExceptionHandler::handleException(Wikimedia\Rdbms\DBConnectionError, string)

#25 [internal function]: MWExceptionHandler::handleUncaughtException(Wikimedia\Rdbms\DBConnectionError)

#26 {main}

Malyacko (talkcontribs)

Can you please elaborate what is unclear about "Cannot access the database: Access denied for user 'root'@'localhost' (using password: NO) (localhost) (localhost)"? Your database settings are incorrect.

213.60.68.92 (talkcontribs)

Sorry. Complete newbie here. Already sorted out.