Magento 1.9.3.3 – How to Unlock Admin Using Database

magento-1.9.3.3

After entering the wrong password Magento has locked my admin account, How can I unlock this using database?

If there is another way of unlocking admin account please tell me. My Magento version is 1.9.3.3

Best Answer

This is the SQL way of unlocking a Magento admin account:

UPDATE admin_user 
SET failures_num=0, first_failure=NULL, lock_expires=NULL
WHERE username='<username>';

Replace the <username> with the target account's username.