Saved admin password is incorrect

This tutorial will help you fix this error you might get

/usr/local/psa/admin/plib/common_func.php3:151
psaerror(string ”Unable to connect to database: saved admin
password is incorrect.”)


It applies to all Plesk distributions for Linux systems.

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.


你可能感兴趣的:(mysql,redhat,String,File,database,logging)