buy tb500

plesk “Unable to connect to database: saved admin password is incorrect”

if you got the above error, then you need to follow the below steps

1. Start by logging in to your server via ssh as root user.

2. Stop MySQL server. In RedHat systems this is done usually like this

/etc/init.d/mysqld stop

3. Open up your MySQL configuration file. Usually this file is called my.cnf and is in /etc directory.

4. Add this line into the [mysqld] section:

skip_grant_tables=1

5. Start MySQL server.

/etc/init.d/mysqld start

6. Login to MySQL as admin user

mysql -u admin

7. Run this query :

update mysql.user set password=password(‘current_password’) where user=’admin’

Where current_password is the string from this file /etc/psa/.psa.shadow

8. Exit the MySQL console.
9. Stop MySQL sever.
10. Remove the line from /etc/my.cnf
11. Start MySQL.

Now the problem should be solved.

Reference

http://www.onlinehowto.net/Tutorials/Plesk-Control-Panel/Saved-admin-password-is-incorrect/593

Leave a Reply