Actions
Bug #48138
closedCannot connect to the current database
Start date:
2013-05-13
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Scenario:
- blank website, no LocalConfiguration.php file
- MySQL user that sees all databases but does not have access to all of them
- request to http://lotse.local/typo3/install/index.php?TYPO3_INSTALL[type]=config
Bug:
#1270853883: TYPO3 Fatal Error: Cannot connect to the current database, "#mysql50#.backup"!
Reason:
DatabaseConnection::admin_get_dbs() iterates over all existing databases and tries to use it. If that fails, an exception is thrown - which is not caught in the mentioned method.
Actions