1bin/magento admin:user:create --admin-user="admin2" --admin-password="admin123" --admin-email="testme@testme.com" --admin-firstname="Amin" --admin-lastname="Admin"
1UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxYourNewPassword', 256), ':xxxxxxx:1') WHERE username = 'admin';
2
3The xxxxxxx character sequence is a cryptographic salt, it is saved in app\etc\env.php file
4
5<?php
6...
7 'crypt' => [
8 'key' => 'f323fedda15153db7783e4610137a581'
9 ],
10...
11?>