• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

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:
Back
Top