So, admit it. We put really strong passwords and then we forget them.
And you end up being locked out of your own website.
So here is how you can reset it quickly.
Go to your hosting control panel and then go to phpMyAdmin if available.
And that’s it. Go to your domain / wp-admin path and login with the new password you just saved.
What to do if you dont have phpMyAdmin?
Use the following command after replacing your details:
UPDATE `wppl_users` SET `user_pass` = 'e0a8aa81eb1762d529783cf587f6f422' WHERE `wppl_users`.`user_nicename` = 'admin';
If you remember the email address only, use:
UPDATE `wppl_users` SET `user_pass` = 'e0a8aa81eb1762d529783cf587f6f422' WHERE `wppl_users`.`user_email` = '[email protected]';
The above command will set your password to [email protected]. After this command you can login to wordpress admin panel and then reset your password to anything you want. Or use md5.cz to generate md5 for any password string and replace it with e0a8aa81eb1762d529783cf587f6f422