<?xml version="1.0"?>
<api>
  <error code="internal_api_error_DBConnectionError" info="Exception Caught: DB connection error: Too many connections (localhost)" xml:space="preserve">

#0 /var/www/html/includes/db/LoadBalancer.php(771): DatabaseBase->reportConnectionError('Unknown error (...')
#1 /var/www/html/includes/db/LoadBalancer.php(494): LoadBalancer->reportConnectionError()
#2 /var/www/html/includes/GlobalFunctions.php(3632): LoadBalancer->getConnection(-1, 'api', false)
#3 /var/www/html/includes/api/ApiBase.php(335): wfGetDB(-1, 'api')
#4 /var/www/html/includes/api/ApiQueryBase.php(99): ApiBase->getDB()
#5 /var/www/html/includes/api/ApiQueryAllLinks.php(123): ApiQueryBase->getDB()
#6 /var/www/html/includes/api/ApiQueryAllLinks.php(115): ApiQueryAllLinks->run(Object(ApiPageSet))
#7 /var/www/html/includes/api/ApiPageSet.php(175): ApiQueryAllLinks->executeGenerator(Object(ApiPageSet))
#8 /var/www/html/includes/api/ApiPageSet.php(131): ApiPageSet->executeInternal(false)
#9 /var/www/html/includes/api/ApiQuery.php(269): ApiPageSet->execute()
#10 /var/www/html/includes/api/ApiMain.php(932): ApiQuery->execute()
#11 /var/www/html/includes/api/ApiMain.php(364): ApiMain->executeAction()
#12 /var/www/html/includes/api/ApiMain.php(335): ApiMain->executeActionWithErrorHandling()
#13 /var/www/html/api.php(95): ApiMain->execute()
#14 {main}

</error>
</api>