<?xml version="1.0"?>
<api>
  <error code="internal_api_error_DBConnectionError" info="Exception Caught: DB connection error: Can&#039;t connect to local MySQL server through socket &#039;/var/run/mysqld/mysqld.sock&#039; (2) (localhost)" xml:space="preserve">

#0 /var/www/mediawiki/includes/db/LoadBalancer.php(734): DatabaseBase->reportConnectionError('Unknown error (...')
#1 /var/www/mediawiki/includes/db/LoadBalancer.php(494): LoadBalancer->reportConnectionError(Object(DatabaseMysql))
#2 /var/www/mediawiki/includes/GlobalFunctions.php(3474): LoadBalancer->getConnection(-1, Array, false)
#3 /var/www/mediawiki/includes/SiteStats.php(43): wfGetDB(-1)
#4 /var/www/mediawiki/includes/SiteStats.php(24): SiteStats::loadAndLazyInit()
#5 /var/www/mediawiki/includes/SiteStats.php(105): SiteStats::load()
#6 /var/www/mediawiki/includes/api/ApiQuerySiteinfo.php(344): SiteStats::pages()
#7 /var/www/mediawiki/includes/api/ApiQuerySiteinfo.php(67): ApiQuerySiteinfo->appendStatistics('statistics')
#8 /var/www/mediawiki/includes/api/ApiQuery.php(266): ApiQuerySiteinfo->execute()
#9 /var/www/mediawiki/includes/api/ApiMain.php(711): ApiQuery->execute()
#10 /var/www/mediawiki/includes/api/ApiMain.php(360): ApiMain->executeAction()
#11 /var/www/mediawiki/includes/api/ApiMain.php(344): ApiMain->executeActionWithErrorHandling()
#12 /var/www/mediawiki/api.php(117): ApiMain->execute()
#13 {main}

</error>
</api>