My client forgot admin password.
We use magento 2.1
How can change password in database?
Thank you.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityFollow 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?
Magento2 you can use this command to set admin password
/bin/magento admin:user:create --admin-user="admin" --admin-password="Abc@123456" --admin-email="test@example.com" --admin-firstname="Admin" --admin-lastname="Admin"