• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved how to get the plesk obsidian mysql / mariadb (?) root-replacement user "admin" password?

jmar83

Regular Pleskian
how to get the plesk obsidian mysql / mariadb (?) root-replacement user "admin" password?

"plesk sbin psadb --get-admin-password" does not work (How to retrieve administrator's Plesk database password on Plesk 17.8 for Windows? ) Message: `Unknown Plesk command-line utility: "psadb"`...


"cat /etc/psa/.psa.shadow" / "mysql -uadmin -p'...'" makes not sense (How to connect to MySQL on a Plesk for Linux server using a MySQL admin password in plain text ), because i don't want ro change its password. (maybe it's a risk, after that plesk maybe does not work anymore..?)


Thank you for your feedbacks.


Best regards, Jan
 
# cat /etc/psa/.psa.shadow

Looks like an encrypted string, but works as a password when used directly as delivered from the output.
 
Last edited:
Oh yes, that seems to be a password!! ;-)

Firstly, i was thinking it's a hash of it.

Now it works - thank you very much!! :)

Regards, Jan
 
Using this command would be a better way to login

mysql -uadmin -p$(cat /etc/psa/.psa.shadow)
 
Back
Top