If the Plesk admin account becomes locked due to multiple failed logins, you have two options. The first is to wait till the lockout automatically resets (15 to 30 minutes) or use the following comands.
Redhat, once connected via SSH as root:
#mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e ‘DELETE FROM lockout’
or
#mysql -u admin -p Admin_password
#use psa;
#delete from lockout where login = ‘admin’;
Be sure to replace “Admin_Password” with your current admin password for Plesk.
Windows, once connected via Remote Desktop:
Click Start
Run
Type “cmd” (without quotes) into the box and hit OK
A command prompt will appear–from there, run the following command:
C:>\Program Files\SWsoft\Plesk\MySQL\bin\mysql.exe -u admin –p Admin_Password -P8306 -D psa -e “DELETE FROM lockout”
Be sure to replace “Admin_Password” with your current admin password for Plesk.