Sometimes people can’t remember their passwords, when it’s the site’s administrator and maybe it’s an old email address, things can get a little tricky. Here’s how to quickly reset your password even if you don’t remember it or have access to the email account for that user.
1. Gain access to phpMyAdmin
2. Navigate to the _users table and locate the user you’d like to force-reset
You cannot use a plain text password here so you’ll need to generate an MD5 hash here. Enter the password you’d like to use, then copy the MD5 hash output:
3. Navigate to the _users table and locate the user you’d like to force-reset and past the hash into the user_pass cell on the row for that user:
You will now be able to login to wp-admin with the plain text password you converted into a hash.