• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Question Admin password corrupted

miguelkleiner

New Pleskian
Hi , after trying to change admin password from the panel. it gave an error and could not be saved.
Now I can't use neither the plesk command from ssh.
Anything I tried (plesk returns :
Access denied for user 'admin'@'localhost' (using password: YES)
exit status 3.
My plesk version is :
Product version: Plesk Onyx 17.8.11 Update #91​
Update date: 2020/10/11 00:44​
Build date: 2020/09/23 08:48​
OS version: Ubuntu 16.04​
Revision: 8b841946561a93f9219edbe9a72b7af91e9d3f26​
Architecture: 64-bit​
Wrapper version: 1.2​

sample
# plesk bin admin --info
[2020-10-11 11:42:48.969] ERR [panel] Cannot load settings: SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES)
exit status 3

Anyone can help me please
Thanks a lot in advance
 
The message that you are seeing is not a message that refers to the Plesk GUI admin login name. The message instead refers to the password for the admin database user account. These are two different things. The password that Plesk uses to access its database is stored enrypted in /etc/psa/.psa.shadow. To access the plesk database directly you'd normally
# cat /etc/psa/.psa.shadow
# mysql -uadmin -p'insert result of previous step here between the single quotes'
If you have changed the admin database password, you need to also update the /etc/psa/.psa.shadow file content to reflect that change, else Plesk won't be able to use the database "admin" user account to login.
Resetting the database password is not a trivial task. Please refer to this article that describes how to do it in different environments. Follow the steps closely and understand what you are doing:
 
Back
Top