• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is 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.

problem with mysql admin password

I

InternetPower

Guest
Plesk 10.3.1 - Centos 6.0 - x86_64

On one server I cannot logon to mysql from shell using the admin password, the same that works to logon from the web interface.
Instead to logon to mysql I have to use the password stored in /etc/psa/.psa.shadow AS IS, while the admin password (the same I can get using "/usr/local/psa/bin/admin --show-password") is it's decrypted form.

So the problem is that when I change the admin password, Plesk sets it enncrypted in /etc/psa/.psa.shadow but then behaves like in the previous versions of Plesk where in /etc/psa/.psa.shadow it's the real password, and uses it to set the password in the grant tables of mysql.
From the web interface I have no problem logging on using the password I choosed.

Maybe there is a switch to tell Plesk to consider the password stored in /etc/psa/.psa.shadow the real password OR the encrypted form (for example for compatibility reasons during Plesk upgrades), but where?

How can I fix it?
Thanks.
 
To encrypt the password manually, use this command-line call:
# /usr/local/psa/bin/init_conf -u -passwd <password> -encrypted-password

To decrypt the password, run:
# /usr/local/psa/bin/init_conf -u -passwd <password> -plain-password
 
Back
Top