Try waiting a few minutes and reloading.
(Cannot access the database)
Backtrace:
#0 /var/lib/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(904): Database->reportConnectionError('Too many connec...') #1 /var/lib/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(579): LoadBalancer->reportConnectionError() #2 /var/lib/mediawiki/includes/GlobalFunctions.php(3075): LoadBalancer->getConnection(0, Array, false) #3 /var/lib/mediawiki/includes/cache/localisation/LCStoreDB.php(42): wfGetDB(-1) #4 /var/lib/mediawiki/includes/cache/localisation/LocalisationCache.php(414): LCStoreDB->get('en', 'deps') #5 /var/lib/mediawiki/includes/cache/localisation/LocalisationCache.php(460): LocalisationCache->isExpired('en') #6 /var/lib/mediawiki/includes/cache/localisation/LocalisationCache.php(336): LocalisationCache->initLanguage('en') #7 /var/lib/mediawiki/includes/cache/localisation/LocalisationCache.php(273): LocalisationCache->loadItem('en', 'specialPageAlia...') #8 /var/lib/mediawiki/languages/Language.php(3209): LocalisationCache->getItem('en', 'specialPageAlia...') #9 /var/lib/mediawiki/includes/specialpage/SpecialPageFactory.php(283): Language->getSpecialPageAliases() #10 /var/lib/mediawiki/includes/specialpage/SpecialPageFactory.php(343): SpecialPageFactory::getAliasList() #11 /var/lib/mediawiki/includes/Title.php(1063): SpecialPageFactory::resolveAlias('UserLogin') #12 /var/lib/mediawiki/includes/MediaWiki.php(186): Title->isSpecial('Badtitle') #13 /var/lib/mediawiki/includes/MediaWiki.php(851): MediaWiki->performRequest() #14 /var/lib/mediawiki/includes/MediaWiki.php(512): MediaWiki->main() #15 /var/lib/mediawiki/index.php(43): MediaWiki->run() #16 {main}