diff --git typo3/init.php typo3/init.php index 4bb5c3b..5344fa5 100644 --- typo3/init.php +++ typo3/init.php @@ -376,7 +376,16 @@ if ($TYPO3_DB->sql_pconnect(TYPO3_db_host, TYPO3_db_username, TYPO3_db_password) exit; } } else { - t3lib_BEfunc::typo3PrintError('Database Error', 'The current username, password or host was not accepted when the connection to the database was attempted to be established!'); + // jump into Install Tool if database connection could not established and database is not selected + if (!TYPO3_db) { + echo ''; + } else { + t3lib_BEfunc::typo3PrintError('Database Error', 'The current username, password or host was not accepted when the connection to the database was attempted to be established!'); + } exit; }