Reset Password of Admin user from directly database in Magento 2

UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxYourNewPassword', 256), ':xxxxxxx:1') WHERE username = 'admin';

where

xxxxxxx

is the encryption key from env.php from app/etc/

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.