A lot of times it happens that you have forgotten your password in wordpress and recover password option does not work. In this scenario you are stuck and unable recover your password from WordPress. This post is all about how to recover your password from this situations.
If you are using the localhost server or any other server, you have to first head to phpmyadmin. As i am using easyphp devserver as my localhost you can see phpmyadmin option in the dashboard.
Then click on databases.
After clicking on databases select wp_ users from the table.
Click on edit.
Then find the column user_pass .
Change the function to MD5 and give a value of your password. The same will be used during your login process to wordpress admin panel. Here thisisatest is given.
After giving the values click on go and save the database in phpmyadmin.
Now try to login with the username and password ( here it is thisisatest) in the wordpress admin panel.
And you will be able to login in your wordpress site instantly.
Watch the video if you have any problem following the tutorial.