MediaWiki internal error.

Original exception: exception 'ErrorPageError' with message 'The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one more characters which cannot be used in titles.' in /var/www/w/includes/Wiki.php:133
Stack trace:
#0 /var/www/w/includes/Wiki.php(47): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#1 /var/www/w/index.php(123): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
#2 {main}

Exception caught inside exception handler: exception 'DBConnectionError' with message 'DB connection error: Can't connect to MySQL server on 'wikidb.c3oqctrbv6xf.us-east-1.rds.amazonaws.com' (111) (wikidb.c3oqctrbv6xf.us-east-1.rds.amazonaws.com)' in /var/www/w/includes/Database.php:536
Stack trace:
#0 /var/www/w/includes/LoadBalancer.php(481): Database->reportConnectionError('Unknown error (...')
#1 /var/www/w/includes/LoadBalancer.php(378): LoadBalancer->reportConnectionError(Object(DatabaseMysql))
#2 /var/www/w/includes/DatabaseFunctions.php(52): LoadBalancer->getConnection(-1, true, Array)
#3 /var/www/w/includes/LinkBatch.php(124): wfGetDB(-1)
#4 /var/www/w/includes/LinkBatch.php(80): LinkBatch->doQuery()
#5 /var/www/w/includes/LinkBatch.php(69): LinkBatch->executeInto(Object(LinkCache))
#6 /var/www/w/includes/OutputPage.php(233): LinkBatch->execute()
#7 /var/www/w/includes/OutputPage.php(299): OutputPage->addCategoryLinks(Array)
#8 /var/www/w/includes/OutputPage.php(312): OutputPage->addParserOutputNoText(Object(ParserOutput))
#9 /var/www/w/includes/OutputPage.php(294): OutputPage->addParserOutput(Object(ParserOutput))
#10 /var/www/w/includes/OutputPage.php(283): OutputPage->addWikiTextTitle('The requested p...', Object(Title), true)
#11 /var/www/w/includes/OutputPage.php(703): OutputPage->addWikiText('The requested p...')
#12 /var/www/w/includes/Exception.php(127): OutputPage->showErrorPage('badtitle', 'badtitletext')
#13 /var/www/w/includes/Exception.php(145): ErrorPageError->report()
#14 /var/www/w/includes/Exception.php(179): wfReportException(Object(ErrorPageError))
#15 [internal function]: wfExceptionHandler(Object(ErrorPageError))
#16 {main}