Article ID: 121405, created on Apr 30, 2014, last review on Jun 17, 2016

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux


  1. An attempt to login to Plesk fails with the following error:

    saved admin password is incorrect

    The solution from the #112492 article did not help.

  2. An attempt to create a database backup fails with the following error:

    # mysqldump -uadmin -p`cat /etc/psa/.psa.shadow ` psa > /tmp/psa.`date +%F_%H.%M`.sql
    mysqldump: Got error: 1045: Access denied for user 'admin'@'localhost' (using password: YES) when trying to connect


The admin user is missing in mysql database.


  1. Obtain Plesk password:

    # cat /etc/psa/.psa.shadow
  2. Enable skip-grant-tables in the /etc/my.cnf file under the [mysqld] and restart MySQL service.

    # vim /etc/my.cnf
    # service mysqld restart
  3. Login to MySQL, switch to mysql database and verify that 'admin' user does not exist:

    # mysql -uadmin -p`cat /etc/psa/.psa.shadow` mysql -Ne"select * from user where User='admin';" 
    Empty set (0.00 sec)
  4. Insert corresponding recored for admin in the mysql.users table:

    mysql -uadmin -p`cat /etc/psa/.psa.shadow` mysql -Ne"INSERT INTO user VALUES ('localhost','admin','*747B6D2A95E7518F5C5A25A3A397E758E4E94E29','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'',NULL);"
  5. Update admin user, set the correct password - the one that was obtain on the first step

    mysql> UPDATE mysql.user SET Password=PASSWORD('$AES-128-CBC$Jyz<...>xQOrRCig==') WHERE User='admin';
  6. Remove the skip-grant-tables line in /etc/my.cnf

  7. Restart MySQL:

    # /etc/init.d/mysqld restart

Search Words

admin not existing

psaerror(string 'Unable to connect to database: saved admin password is incorrect.')

403 Forbidden nginx

saved admin password is incorrect

Cannot log in to Parallels Plesk Panel web interface: "saved admin password is incorrect"

plesk password

ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES) (Abstract.php:144)

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f aea4cd7bfd353ad7a1341a257ad4724a 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF