Do you want to reset your WordPress password using phpMyAdmin?
If you are unable to reset your WordPress password, then there is a way to reset it directly in your WordPress database using phpMyAdmin.
In this article, we will show you how to easily reset a WordPress password from phpMyAdmin.
Why Reset WordPress Password from phpMyAdmin?
When you click on the link you are taken to the password reset page. Once you enter your username or email address, WordPress will send a password reset link to the associated email address.
However, if you don’t have access to that email address, or your WordPress site fails to send an email, then you will not be able to reset your password.
In such a situation, you will need to reset your WordPress password directly in the database. The easiest way to do that is by using phpMyAdmin.
Having said that, let’s see how you can easily reset a WordPress password from phpMyAdmin.
How to WordPress Password From PhpMyAdmin
If you don’t want to watch the video tutorial, then you can continue reading the text version below.
First, you need to login to the cPanel dashboard of your WordPress hosting account. Next, you need to navigate to the Databases section where you can click on the phpMyAdmin icon.
This will launch the phpMyAdmin app where you need to select your WordPress database.
You will now see the list of tables in your WordPress database. You need to look for the wp_users table in this list and click on the Browse link next to it.
Note: Table names in your WordPress database may have a different prefix than the one we are showing in our screenshot. Changing table prefixes can improve the security of your WordPress site.
You will now see the rows in your WordPress users table. Go ahead and click on the edit button next to the username whose password you wish to change.
PhpMyAdmin will show you a form with all the user information fields.
You will need to delete the value in the user_pass field and replace it with your new password. Under the function column, select MD5 from the drop down menu and then click on the Go button at the bottom of the form.
Your password will be encrypted using the MD5 hash and then it will be stored in the database.
Congratulations! You have successfully changed your WordPress password using phpMyAdmin.
Some of you may be wondering why we selected the MD5 hash to encrypt the password. WordPress previously used MD5 hash to encrypt passwords, but since WordPress 2.5 it has been using stronger encryption technologies.
However, WordPress still recognizes MD5 to provide backward compatibility. As soon as you log in using a password string stored as an MD5 hash, WordPress will automatically change it to use the newer encryption algorithms.
We hope this tutorial helped you learn how to reset a WordPress password from phpMyAdmin.