Change your WordPress password in the database
Normally, you can reset your WordPress password in WP Admin or request a new one via email. However, if you can't access your email or WP Admin, you can always change your password directly in the database.
- Step 1 - Access your database in PHPMyAdmin
- Step 2 - Open the users table
- Step 3 - Enter new password
- Step 4 - You are done!
Don't have a website yet? With WordPress, you can easily and quickly build the website of your dreams.
Step 1 - Access your database in PHPMyAdmin
Read our guide on how to access your database if you need help.
Step 2 - Open the users table
- Click the users table in the menu to the left. The table can have different prefixes, in this example it is www_.
- Locate the user for which you want to change the password and click Edit.
Step 3 - Enter new password
- Next to user_pass choose MD5 from the drop down menu under Function.
- Under Value replace the current encrypted password with the new password. You can type normal text, it will be encrypted after saving.
- Click Go to save changes.
Step 4 - That's it!
Your new password has been saved and encrypted. It can now be used to login to WordPress.
Related articles: