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
WordPress makes it super easy to reset your password. You can simply go to the login screen and click on the ‘Lost your password’ link.
Clicking on it takes you to password reset page where you can enter your username or email address to reset the password. After that WordPress sends a password reset link to the email address associated with that user account.
However, if you don’t have access to the 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.
After you locate the wp_prefix_users table and click on it 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 click on the Go button.
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.
Now some of you may be wondering why did we select the MD5 hash to encrypt the password.
In the older version, WordPress used MD5 hash to encrypt passwords. Since WordPress 2.5, it started using stronger encryption technologies. However, WordPress still recognizes MD5 to provide backward compatibility.
As soon as you login using a password string stored as a MD5 hash, WordPress recognizes it and changes it using the newer encryption algorithms.