<?xml version="1.0"?>
<api>
  <error code="internal_api_error_DBConnectionError" info="Exception Caught: DB connection error: No such file or directory (localhost)" xml:space="preserve">

#0 /var/www/ec/newwiki/includes/db/LoadBalancer.php(771): DatabaseBase->reportConnectionError('No such file or...')
#1 /var/www/ec/newwiki/includes/db/LoadBalancer.php(494): LoadBalancer->reportConnectionError()
#2 /var/www/ec/newwiki/includes/GlobalFunctions.php(3632): LoadBalancer->getConnection(0, 'api', false)
#3 /var/www/ec/newwiki/includes/api/ApiBase.php(335): wfGetDB(-1, 'api')
#4 /var/www/ec/newwiki/includes/api/ApiQueryBase.php(99): ApiBase->getDB()
#5 /var/www/ec/newwiki/includes/api/ApiQueryAllLinks.php(123): ApiQueryBase->getDB()
#6 /var/www/ec/newwiki/includes/api/ApiQueryAllLinks.php(107): ApiQueryAllLinks->run()
#7 /var/www/ec/newwiki/includes/api/ApiQuery.php(285): ApiQueryAllLinks->execute()
#8 /var/www/ec/newwiki/includes/api/ApiMain.php(932): ApiQuery->execute()
#9 /var/www/ec/newwiki/includes/api/ApiMain.php(364): ApiMain->executeAction()
#10 /var/www/ec/newwiki/includes/api/ApiMain.php(335): ApiMain->executeActionWithErrorHandling()
#11 /var/www/ec/newwiki/api.php(85): ApiMain->execute()
#12 {main}

</error>
</api>