MediaWiki internal error.

Original exception: exception 'DBQueryError' with message 'A database error has occurred
Query: SET NAMES utf8
Function: Database::open
Error: 9001 Max connect timeout reached while reaching hostgroup 3243 after 10000ms (mysql5-4.bdb)
' in /home/wikibrai/www/includes/db/Database.php:636
Stack trace:
#0 /home/wikibrai/www/includes/db/Database.php(591): Database->reportQueryError('Max connect tim...', 9001, 'SET NAMES utf8', 'Database::open', false)
#1 /home/wikibrai/www/includes/db/Database.php(415): Database->query('SET NAMES utf8', 'Database::open')
#2 /home/wikibrai/www/includes/db/Database.php(296): Database->open('mysql5-4.bdb', 'wikibraigrd', 'a73a8R2b', 'wikibraigrd')
#3 /home/wikibrai/www/includes/db/LoadBalancer.php(647): Database->__construct('mysql5-4.bdb', 'wikibraigrd', 'a73a8R2b', 'wikibraigrd', 1, 16)
#4 /home/wikibrai/www/includes/db/LoadBalancer.php(530): LoadBalancer->reallyOpenConnection(Array, false)
#5 /home/wikibrai/www/includes/db/LoadBalancer.php(453): LoadBalancer->openConnection(0, false)
#6 /home/wikibrai/www/includes/BagOStuff.php(442): LoadBalancer->getConnection(-2)
#7 /home/wikibrai/www/includes/BagOStuff.php(503): MediaWikiBagOStuff->_getDB()
#8 /home/wikibrai/www/includes/BagOStuff.php(316): MediaWikiBagOStuff->getTableName()
#9 /home/wikibrai/www/includes/BagOStuff.php(240): SqlBagOStuff->_query('SELECT value,ex...', 'wikibraigrd-wik...')
#10 /home/wikibrai/www/includes/MessageCache.php(245): SqlBagOStuff->get('wikibraigrd-wik...')
#11 /home/wikibrai/www/includes/MessageCache.php(589): MessageCache->load('fr')
#12 /home/wikibrai/www/includes/MessageCache.php(526): MessageCache->getMsgFromNamespace('Whatlinkshere', 'fr')
#13 /home/wikibrai/www/includes/GlobalFunctions.php(583): MessageCache->get('whatlinkshere', true, false)
#14 /home/wikibrai/www/includes/GlobalFunctions.php(548): wfMsgGetKey('whatlinkshere', true, false, true)
#15 /home/wikibrai/www/includes/GlobalFunctions.php(454): wfMsgReal('whatlinkshere', Array, true)
#16 /home/wikibrai/www/includes/SpecialPage.php(772): wfMsg('whatlinkshere')
#17 /home/wikibrai/www/includes/SpecialPage.php(728): SpecialPage->getDescription()
#18 /home/wikibrai/www/includes/SpecialPage.php(740): SpecialPage->setHeaders()
#19 /home/wikibrai/www/includes/SpecialPage.php(539): SpecialPage->execute('Nature')
#20 /home/wikibrai/www/includes/Wiki.php(226): SpecialPage::executePath(Object(Title))
#21 /home/wikibrai/www/includes/Wiki.php(59): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#22 /home/wikibrai/www/index.php(114): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#23 /home/wikibrai/www/index.php5(1): require('/home/wikibrai/...')
#24 {main}

Exception caught inside exception handler: exception 'MWException' with message 'Could not connect to database' in /home/wikibrai/www/includes/BagOStuff.php:507
Stack trace:
#0 /home/wikibrai/www/includes/BagOStuff.php(316): MediaWikiBagOStuff->getTableName()
#1 /home/wikibrai/www/includes/BagOStuff.php(240): SqlBagOStuff->_query('SELECT value,ex...', 'wikibraigrd-wik...')
#2 /home/wikibrai/www/includes/MessageCache.php(245): SqlBagOStuff->get('wikibraigrd-wik...')
#3 /home/wikibrai/www/includes/MessageCache.php(589): MessageCache->load('fr')
#4 /home/wikibrai/www/includes/MessageCache.php(526): MessageCache->getMsgFromNamespace('Databaseerror', 'fr')
#5 /home/wikibrai/www/includes/GlobalFunctions.php(583): MessageCache->get('databaseerror', true, false)
#6 /home/wikibrai/www/includes/GlobalFunctions.php(548): wfMsgGetKey('databaseerror', true, false, true)
#7 /home/wikibrai/www/includes/Exception.php(70): wfMsgReal('databaseerror', Array)
#8 /home/wikibrai/www/includes/db/Database.php(2617): MWException->msg('databaseerror', 'Database error')
#9 /home/wikibrai/www/includes/Exception.php(148): DBQueryError->getPageTitle()
#10 /home/wikibrai/www/includes/Exception.php(183): MWException->reportHTML()
#11 /home/wikibrai/www/includes/Exception.php(269): MWException->report()
#12 /home/wikibrai/www/includes/Exception.php(327): wfReportException(Object(DBQueryError))
#13 [internal function]: wfExceptionHandler(Object(DBQueryError))
#14 {main}