I have used the admin account one year before, now i have forgot the user credentials, then i run the following queries on the admin_user table in magneto2 db
UPDATE admin_user SET password = 'admin' WHERE username = 'admin';
and query was successful
and unlocked the account also using following -
php bin/magento admin:user:unlock admin
and got message that The user account "admin" has been unlocked
then i removed the cache using
sudo php bin/magento cache:clean
and removed unwanted sessions from 'admin_user_sessions'
table
Now when i try to login in localhost/magneto2/admin ->
Username - admin Password - admin
I am getting error You did not sign in correctly or your account is temporarily disabled.
What may be the error, Please help i am trying to login since 4-5 hours.
Thanks