21
Reset admin password in Windows Plesk
Filed Under (Plesk) by WebScHoLaR on 21-06-2009
Tagged Under : admin password, Plesk, reset, Virtuozzo, Windows
The Plesk admin password can simply be reset by login to VPS using RDP with following command:
%plesk_bin%\plesksrvclient.exe
Just run the command and it will ask for new admin password. If it also shows the message that Access denied/can’t connect to MySQL then:
- Add parameter skip_grant_tables=1 into the [PleskSQLServer] section.
- Restart service Plesk SQL Server.
%plesk_bin%\plesksrvclient.exe -get command can be used to retrieve the Plesk admin password from the database to verify that the password has been successfully updated in Plesk system database. If Plesk admin password is not updated somehow then it can be updated manually. To do it, please, follow the steps:
- Edit MySQL configuration file my.ini located within %plesk_dir%\mysql\data\.
- Add parameter skip_grant_tables=1 into the [PleskSQLServer] section.
- Restart service Plesk SQL Server.
- Log into Plesk MySQL.
%plesk_dir%\mysql\bin\mysql.exe -P8306 mysql
- Execute the following query:
mysql> update mysql.user set password=password(‘NEWPASSWORD’) where user=’admin’;
- Remove skip_grant_tables=1 from within the [PleskSQLServer] section within %plesk_dir%\mysql\data\my.ini
- Restart service Plesk SQL Server.
