• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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