• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue DB query failed: (1045) SQLSTATE[HY000] [1045]

hsoheili

New Pleskian
While attempting to access the DB in the terminal in plesk, I was not sure on the admin login’s password so I changed the password, not noting it down (My bad).

I can not access plesk now because of that change.

How can this be resolved?
 
Hello, @hsoheili . What you can do is connect to the server via SSH as the root user and change the Plesk admin password with the following command:

Code:
plesk bin admin --set-admin-password -passwd 'your_new_password'

If you don't have root access yourself, please ask the server administrator/hosting provider to change the password for you.
 
Hello, @hsoheili . What you can do is connect to the server via SSH as the root user and change the Plesk admin password with the following command:

Code:
plesk bin admin --set-admin-password -passwd 'your_new_password'

If you don't have root access yourself, please ask the server administrator/hosting provider to change the password for you.
root@41DD089:~# plesk bin admin --set-admin-password -passwd 'XXXXXX'

DB query failed: (1045) SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES)

exit status 1
root@41DD089:~#




I will change the password again once i can get this process working correctly.
 
Last edited by a moderator:
you can try from the cli plesk login and then you get a secret link to get into plesk and try and change / update the password via the gui :)
 
Back
Top