<?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, 'watchlist', false)
#3 /var/www/html/includes/api/ApiQuery.php(169): wfGetDB(-1, 'watchlist')
#4 /var/www/html/includes/api/ApiQueryBase.php(114): ApiQuery->getNamedDB('watchlist', -1, 'watchlist')
#5 /var/www/html/includes/api/ApiQueryWatchlist.php(58): ApiQueryBase->selectNamedDB('watchlist', -1, 'watchlist')
#6 /var/www/html/includes/api/ApiQueryWatchlist.php(40): ApiQueryWatchlist->run()
#7 /var/www/html/includes/api/ApiQuery.php(285): ApiQueryWatchlist->execute()
#8 /var/www/html/includes/api/ApiMain.php(932): ApiQuery->execute()
#9 /var/www/html/includes/api/ApiMain.php(364): ApiMain->executeAction()
#10 /var/www/html/includes/api/ApiMain.php(335): ApiMain->executeActionWithErrorHandling()
#11 /var/www/html/api.php(95): ApiMain->execute()
#12 {main}

</error>
</api>