ERROR: PleskFatalException Unable to connect to database: saved admin password is incorrect.

Updated on 26 July 2023 2 min Read

You receive this error if you have upgraded plesk/php on your server. Access your server via SSH and switch to ”root”. Stop the MySQL daemon

[root@server /]# /etc/init.d/mysqld stop

Now start it with no user information:

[root@server /]# mysqld_safe –skip-grant-tables &

Now you should be able to access the database without the root password. To log in type

[root@server /]# mysql -u root

Then you will see the mysql prompt

mysql> UPDATE mysql.user SET Password=PASSWORD(‘xxxxx’) WHERE User=’admin’;

Type the new password instead xxxxx.

mysql> FLUSH PRIVILEGES;

then Quit ”mysql>” with exit command and restart the Plesk control panel.

[root@server /]# /etc/init.d/psa restart

Premium Website Hosting

The Author

Neha Kahnna is a professional content writer associated with MilesWeb. She curates articles on web hosting, latest SEO trends and technology topics. Her insightful content captivates the reader’s attention and deliver a higher learning ROI.