TYPO3 Exception 1270853884¶
Below, the TYPO3 community may have provided additional information or solutions for this exception. However, these may or may not apply to your particular case. If you can provide more information, you should come back here and add your experience and solution steps to this issue once you have resolved it.
General TYPO3 troubleshooting tips can be found in the section “Troubleshooting” of the menu, and live support is available in the TYPO3 Slack channel #typo3-cms.
The current username, password or host was not accepted …¶
TYPO3 Fatal Error: The current username, password or host was not accepted when the connection to the database was attempted to be established!
Correct the database settings¶
AdditionalConfiguration.php files and verify
that the database connection settings are correct.
Restart the MySQL daemon.¶
Login as root on your system if you have shell access, or start a console from the server panel.
type: /etc/init.d/mysql restart On Mac OSX 10.10 (Yosemite) type: sudo /usr/local/mysql/support-files/mysql.server stop
If you get this error:
ERROR! The server quit without updating PID file (/usr/local/mysql/data/<SERVERNAME>.pid)
Then your next option is to kill the mysql process manually by following this instructions: http://stackoverflow.com/questions/26263889/starting-mysql-error-the-server-quit-without-updating-pid-file/26266079#26266079
Then restart mysql daemon again. This time it should work. On Mac OSX 10.10 (Yosemite) type: sudo /usr/local/mysql/support-files/mysql.server start
TYPO3 6.2 - modify your MySQL configuration file¶
The problem could depend on recent PHP update from v. 5.3/5.4 to 5.5; a new module is installed: php-mysqlnd. So your TYPO3 attempt to establish a db connect but mysql do not use more your old encryption method for the password.
Proceed as follows:
remove the old_passwords=1 statement
login as root in your server
login to mysql as admin/root (mysql -u root -p)
select database, type: use mysql;
just switched to mysql db change the password of the user:
update mysql.user set password=PASSWORD('password') where user='db-username'
obviously substitute db-username with the ‘username’ and ‘password’ with the right (old or new password) used to access your db, stored in: typo3conf/LocalConfiguration.php
restart your mysql daemon: /etc/init.d/mysqld restart
eventually remove all site cache: rm -rif typo3temp/Cache*