This method is used for editing and updating WordPress admin password by changing wp_users table values.
- Login to cPanel from your client area or using cPanel login credentials.
- Select PHPMyAdmin.
- Click on your WordPress database.
- Navigate and click the table wp_users.
- Edit the row with your WordPress username (If you need to update database username)
- Now, in the user_pass field, change the function to MD5 and enter your new password in the Value section (refer below screenshot).
- Click “Go” or similar option at the bottom to update the table values.