Recently I changed my hosting and now I am not able to access my admin panel. I also used a option of forget password but I am not getting any mail. Kindly help me out in sorting out this problem.
Thanks
Hello @gaurav_sharma7
Please find admin_user table in database and update below shared string as a password and this is encrypted form of "admin@123"
"f5b2e43086affbe78d46bbb0efff8c66d28526e7ca381b5599e26e11bc096186:gTnjN2xF5PBqo0O877r3eHtcVF5vJpYV:1"
ignore double quotes. Cheers
It is also possible to change the admin password in the terminal:
php bin/magento admin:user:create --admin-user admin --admin-password 1q2w3e4r --admin-firstname Admin --admin-lastname Admin --admin-email name@domain.com
You will have a User named 'admin' with password 1q2w3e4r in this case.