I forgot the password of my testing WordPress site on XAMPP on my local PC. To reset the password , following the below steps:
- Access phpMyAdmin
- Open the WordPress database.
- Click on the users table in the left menu (ie wp_users)
- Click BROWSE.
- Click on the EDIT button next to the admin user (i.e. wpsite1-admin).
- Delete whatever is in the password field.
- Enter your desired password.
- From the Function drop-down list, choose MD5.
- Save the info in the database.
- Log in to WordPress using “wpsite1=admin” and the password ‘admin123’.