<?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, Array, false)
#3 /var/www/html/includes/cache/LocalisationCache.php(1153): wfGetDB(-1)
#4 /var/www/html/includes/cache/LocalisationCache.php(401): LCStoreDB->get('en', 'deps')
#5 /var/www/html/includes/cache/LocalisationCache.php(447): LocalisationCache->isExpired('en')
#6 /var/www/html/includes/cache/LocalisationCache.php(323): LocalisationCache->initLanguage('en')
#7 /var/www/html/includes/cache/LocalisationCache.php(257): LocalisationCache->loadItem('en', 'namespaceNames')
#8 /var/www/html/languages/Language.php(472): LocalisationCache->getItem('en', 'namespaceNames')
#9 /var/www/html/includes/search/SearchEngine.php(353): Language->getNamespaces()
#10 /var/www/html/includes/User.php(1429): SearchEngine::searchableNamespaces()
#11 /var/www/html/includes/User.php(1446): User::getDefaultOptions()
#12 /var/www/html/includes/cache/GenderCache.php(57): User::getDefaultOption('gender')
#13 /var/www/html/includes/cache/GenderCache.php(146): GenderCache->getDefault()
#14 /var/www/html/includes/api/ApiPageSet.php(1063): GenderCache->doQuery(Array, 'ApiPageSet::pro...')
#15 /var/www/html/includes/api/ApiPageSet.php(704): ApiPageSet->processTitlesArray(Array)
#16 /var/www/html/includes/api/ApiPageSet.php(218): ApiPageSet->initFromTitles(Array)
#17 /var/www/html/includes/api/ApiPageSet.php(131): ApiPageSet->executeInternal(false)
#18 /var/www/html/includes/api/ApiQuery.php(269): ApiPageSet->execute()
#19 /var/www/html/includes/api/ApiMain.php(932): ApiQuery->execute()
#20 /var/www/html/includes/api/ApiMain.php(364): ApiMain->executeAction()
#21 /var/www/html/includes/api/ApiMain.php(335): ApiMain->executeActionWithErrorHandling()
#22 /var/www/html/api.php(95): ApiMain->execute()
#23 {main}

</error>
</api>