Magento reset admin password

If you can’t log into the admin panel or can’t remember admin password you can reset/change admin password like this method.Log into the database and run the following query of it.
UPDATE `admin_user` SET `password`=CONCAT(MD5('qXadmin123'), ':qX') WHERE username='admin';
Then the password will be set to admin123