1) First you need to log in to your cPanel account.
Enter cpanel details. If you don't have one then ask your hosting provider.
2) Now search for phpmyadmin in the search box.
3) Click on phpmyadmin.
4) A list of databases will appear. Click your WordPress database.
5) All the tables in your database will appear. If not, click Structur
6) Look for wp_users in the Table column.
7) Click on the icon for browse.
8) Locate your Username under user_login
9) Click edit (may look like a pencil icon in some versions of phpMyAdmin)
10) Your user_id will be shown, click on Edit
11) Next to the user_pass is a long list of numbers and letters.
12) Select and delete these and type in your new password.
13) Type in the password you want to use. Just type it in normally, but remember, it is case-sensitive.
14) In this example, the new password will be 'rabbitseatcarrots'
15) Once you have done that, click the dropdown menu indicated, and select MD5 from the menu.
16) Check that your password is actually correct, and that MD5 is in the box.
17) Click the 'Go' button to the bottom right.
18) Test the new password on the login screen. If it doesn't work, check that you've followed these instructions exactly.