• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Plesk Onyx MariaDB Password Issue

Mike Flanagan

New Pleskian
Hello,

After experiencing issues connecting to MariaDB via the command line using the admin password, I had to use mysqld_safe to reset the password.

The admin panel can now no longer connect to the database. Instead we experience the following issue:

Code:
ERROR: PleskDBException: Unable to connect to database: mysql_connect(): Access denied for user 'admin'@'localhost' (using password: YES) (Error code: 1045) (Abstract.php:69)

How can we reset the password globally? I have tried:

Code:
plesk bin admin --set-admin-password -passwd 'mynewpassword' -encrypted-password

But it won't work.
 
There is a difference between the Plesk database password for the database user "admin@localhost" and the Plesk GUI login password for the Plesk user "admin". When you change the Plesk database password for admin@localhost, you need to enter the new password into the file /etc/psa/.psa.shadow . The "plesk bin admin" command does not touch that database password, it reconfigures the Plesk GUI user password of the "admin" user.
 
Back
Top