You need to access the MySQL database. If you use Cpanel, you can use
- Go to wp-config.php in the root folder of your WordPress installation, and note the name of your database define(‘DB_NAME’, ‘XXXXX’);
- Go to
phpmyadmin , click on the database that you already noted. - Click on wp_users
- Select the row and click on edit
- in user_pass, choose “MD5” in the drop-down menu “function”
- Type your new password in the field for user_pass and press the “go” button at the bottom of the field.
