Magento 2 – Forgot Admin Password for Admin Panel

magento2passwordpassword-recovery

My client forgot admin password.

We use magento 2.1

How can change password in database?

Thank you.

Best Answer

Follow this: https://www.siteground.com/kb/how_to_reset_admin_password_in_magento/

UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxxNewPassword', 256), ':xxxxxxxx:1') WHERE username = 'ADMINUSERNAME';

Or you can follow this to create new admin user and when you logged in you can edit the old account How to reset lost admin password in Magento 2?

Related Topic