#53791Uncaught Exception: username, password or host was not accepted
Description
After a upgrade from TYPO3 4.1 to 6.2 I run into this exception, if I try to open the backend. A clear error message should have been given instead. Nothing has been done in the Install Tool.
Uncaught TYPO3 Exception
#1270853884: TYPO3 Fatal Error: The current username, password or host was not accepted when the connection to the database was attempted to be established! (More information)
RuntimeException thrown in file
/home/path/public_html/typo3_src-master/typo3/sysext/core/Classes/Database/DatabaseConnection.php in line 1563.
10 TYPO3\CMS\Core\Database\DatabaseConnection::connectDB()
/home/path/public_html/typo3_src-master/typo3/sysext/core/Classes/Database/DatabaseConnection.php:
00789: public function fullQuoteStr($str, $table, $allowNull = FALSE) {
00790: if (!$this->isConnected) {
00791: $this->connectDB();
00792: }
00793: if ($allowNull && $str === NULL) {
9 TYPO3\CMS\Core\Database\DatabaseConnection::fullQuoteStr("0506393400dcb27f27e99fe7738e57cc", "be_sessions,be_users")
/home/path/public_html/typo3_src-master/typo3/sysext/core/Classes/Database/PreparedStatement.php:
00452: break;
00453: case self::PARAM_STR:
00454: $value = $GLOBALS['TYPO3_DB']->fullQuoteStr($typeValue['value'], $this->table);
00455: break;
00456: case self::PARAM_BOOL:
8 TYPO3\CMS\Core\Database\PreparedStatement::replaceValuesInQuery("SELECT * FROM be_sessions,be_users WHERE be_sessio…be_users.endtime=0 OR be_users.endtime>1384940911)", array, array)
/home/path/public_html/typo3_src-master/typo3/sysext/core/Classes/Database/PreparedStatement.php:
00284: }
00285: }
00286: $this->replaceValuesInQuery($query, $precompiledQueryParts, $parameterValues);
00287: if (count($precompiledQueryParts) > 0) {
00288: $query = implode('', $precompiledQueryParts['queryParts']);
7 TYPO3\CMS\Core\Database\PreparedStatement::execute()
/home/path/public_html/typo3_src-master/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php:
00899: $user = FALSE;
00900: if ($statement) {
00901: $statement->execute();
00902: $user = $statement->fetch();
00903: $statement->free();
6 TYPO3\CMS\Core\Authentication\AbstractUserAuthentication::fetchUserSession(boolean)
/home/path/public_html/typo3_src-master/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php:
00672: }
00673: // Re-read user session
00674: $authInfo['userSession'] = $this->fetchUserSession($skipSessionUpdate);
00675: $haveSession = is_array($authInfo['userSession']) ? TRUE : FALSE;
00676: if ($this->writeDevLog) {
5 TYPO3\CMS\Core\Authentication\AbstractUserAuthentication::checkAuthentication()
/home/path/public_html/typo3_src-master/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php:
00441: // Check to see if anyone has submitted login-information and if so register
00442: // the user with the session. $this->user[uid] may be used to write log...
00443: $this->checkAuthentication();
00444: // Make certain that NO user is set initially. ->check_authentication may
00445: // have set a session-record which will provide us with a user record in the next section:
4 TYPO3\CMS\Core\Authentication\AbstractUserAuthentication::start()
/home/path/public_html/typo3_src-master/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php:
00353: $this->security_level = 'superchallenged';
00354: }
00355: parent::start();
00356: }
00357:
3 TYPO3\CMS\Core\Authentication\BackendUserAuthentication::start()
/home/path/public_html/typo3_src-master/typo3/sysext/core/Classes/Core/Bootstrap.php:
01024: // might trigger code which relies on it. See: #45625
01025: $GLOBALS['BE_USER'] = $backendUser;
01026: $backendUser->start();
01027: return $this;
01028: }
2 TYPO3\CMS\Core\Core\Bootstrap::initializeBackendUser()
/home/path/public_html/typo3_src-master/typo3/init.php:
00069: ->loadExtensionTables(TRUE)
00070: ->initializeSpriteManager()
00071: ->initializeBackendUser()
00072: ->initializeBackendAuthentication()
00073: ->initializeBackendUserMounts()
1 require("/home/path/public_html/typo3_src-master/typo3/init.php")
/home/path/public_html/typo3_src-master/typo3/index.php:
00032: */
00033: define('TYPO3_PROCEED_IF_NO_USER', 1);
00034: require __DIR__ . '/init.php';
00035:
00036: $loginController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\LoginController');Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.