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
- Click the users table in the menu to the left. The table can have different prefixes, in this example, it is the user only.
- Locate the user for which you want to change the password and click Edit.
Step 3 – Enter a 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.
Got more ways to change it let us know!