At one time or another almost everyone has forgotten a password.
If you have forgotten the password to get into one of your WordPress websites, there luckily is a password reminder feature on the login form. Visit your site's login screen, and click the "Forgot your password" link. Most of the time, it works.
Sometimes, it doesn't. And this page is here to help you when it doesn't. If you happen to be using cPanel or similar (anything with phpMyAdmin) on your host, solving the problem luckily isn't too difficult.
Start by Logging Into cPanel
Select the phpMyAdmin on the cPanel homepage, then select the database of the site that has the lost password from the list on the left (not shown). Then locate the line wp_users and click browse (1st icon) – see below.
This will open up a window where you will see a list of usernames with passwords (encoded) On the line with the user name and password you lost, click the pencil (1st icon). Note that we have only one user for this site.
You will then get a screen with the data for this user including the encoded password. Delete the encoded password and enter an easily remembered password in ASCII format- example TEST, then on the pulldown list to the left of the password, select MD5. Then go to the bottom of the form and click "GO"
Go back to the site and use the User ID and password you just created. After you get on the site, change the password to something secure. This is an important step and should not be ignored.