• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Plesk broke changing MySQL admin password

Status
Not open for further replies.

NielsVL

New Pleskian
Hello,

I changed the password for the root user MySQL 'admin' via the webadmin in the Plesk panel (phpMyAdmin)
Now I am getting an error when i try to acces Plesk panel on port 8443:

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

When trying to login over SSH with
Code:
mysql -uadmin -p`cat /etc/psa/.psa.shadow`
i also get
Code:
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)

So my guess was that the pass stored in Plesk for MySQL root user 'admin' didn't change. I was able to connect to the MySQL database via SSH using the new password (with Navicat) There i was able to set the pass of the user 'admin' back to the previous one (same as Plesk), restarted the services but the error is still present ... !?

Greets,
Niels
 
Solved the issue by updating the password for the MySQL admin user to the hash in /etc/psa/.psa.shadow
So the hash in .psa.shadow has to be hased again by PASSWORD()

... SET password = PASSWORD(<hash>) ...
 
Status
Not open for further replies.
Back
Top