Magento admin password reset

Use the following command to perform Magento admin password reset

php bin/magento admin:user:create –admin-user=”admin” –admin-password=”123123q” –admin-email=”admin@example.com” –admin-firstname=”Admin” –admin-lastname=”Admin”

After creating new admin, you can login and change the original user password with it.

Magento – Magento admin password reset using md5

We can access to admin backend resetting admin user password with md5.

UPDATE admin_user SET password = MD5(‘anyword’) WHERE admin_user.user_id= 1;