In this Tutorial, I Will Show you How to Reset Magento Admin Password in Magento2. For Reset Magento Admin Password in Magento1 You have to Read the How to Reset Magento Admin Password in Magento1.
You have 2 Way to reset the Admin Password in Magento 2
- Reset Password Using Phpmyadmin
- Reset Password Using Email
Reset Password Using phpmyadmin
If you have Access of phpmyadmin then this is the Easy Way to Reset Magento Admin Password in Magento2.
You have to Open Your Phpmyadmin and Simple Run Query with Value of User name and New Password.
Here is the SQL query to Update Your admin Password in Magento 2 and also for above version,
UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxType Your New Password', 256), ':xxxxxxx:1') WHERE username = 'Type Your User Name';
In the above query, xxxxxxx character sequence is a cryptographic salt, it is saved in app\etc\env.php file.
return array (
'key' => '525701df74e6cba74d5e9a1bb3d935ad', //cryptographic salt
If You have not Access of phpmyadmin then Don’t Worry Just Follow the Second Way
Reset Password Using Email
Magento default have a Password recovery feature. You can use that Feature to Reset Your Password. You have to request for Reset password Using Your Admin Pannel. Magento Send Link to Reset Your Password.
Lets Follow Below Step
- Open Magento Admin Panel
- Click on the Forgot Your Password
- Enter Your Email Address
- Enter “Captcha”
- Click on the “Retrieve Password”
Now You have to open your Given Email and Check your inbox. Open mail and Click on the reset password link and set your new password from there.
Hope this helps.