• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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