• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resetting Admin password

chartman

Basic Pleskian
Not sure what happened, but I can't login to the Plesk administrative panel. Is there anyway to reset the admin password used to access the control panel?

Appreciate any ideas!
 
You can reset admin password using Plesk tool:

"%plesk_bin%\plesksrvclient" -set new_pass true
new_pass is your new password that you want to set up
 
Thanks for the file pointer. I went and ran the file and get the following error message when trying to connect.

Unable to connect to database: saved admin password is incorrect. 0: C:\Program Files\SWsoft\Plesk\admin\auto_prepend\auth.php3:56 psaerror(string "Unable to connect to database: saved admin password is incorrect.")

When I run the file plesksrvclient.exe it also tells me it cannot connect to MySQL database.

Any thoughts?
 
1. Go to my.ini
2. add the line
skip-grant-tables=1

3. stop mysql.
4. go to cmd
5. go to C:\Program Files\Swsoft\Plesk\MySQL\bin
6. type the line
mysqld-nt.exe

it will stop the active window of dos

7. open a new window of CMD
8. go to MySQL\bin again
9. type
mysql -u admin -P8306
(if you cannot enter with your admin user, try with root user)
10. after login type
use mysql;
select * from users;

now you can update the pass of the user admin.

11. quit mysql
12. stop mysql again
13. delete the skip-grant-tables from my.ini
14. start it again normally and try to loggin.

:D
 
Back
Top