Normally you can reset your WordPress password in the dashboard or request a new one via email. In case you have no access to both your email and the WordPress dashboard, you can 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 would like some 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 your changes.
Step 4 - You are done!
Your new password has been saved and encrypted. It can now be used to login to WordPress.
Related articles: