Reset Magento 2 admin password via database


This easy code snippet will help you to easily reset or change you admin user password through database.

The xxxxxxx character sequence is a cryptographic salt, it is saved in app\etc\env.php file


Enjoy!