New Check out the curated list of the finest design resources I've gathered for you! Take a look →

How to Change or Reset WordPress Password in the Database

This guide will walk you through the step-by-step process of changing or resetting the WordPress password in the database, ensuring the security and access to your WordPress website.


For this tutorial, you need:

  • Access to phpMyAdmin
  • Knowledge of the specific WordPress user to change/reset password for

Step-by-Step Tutorial: How to Change or Reset WordPress Password in the Database

1. Access phpMyAdmin on your hosting control panel.

In order to change the WordPress password in the database, open your hosting control panel and find and click on the phpMyAdmin option. This will bring you to the phpMyAdmin interface where you can manage your database.

2. Select the `”wp_user”` table.

Locate and select the "wp_user" table from the list of available tables in your WordPress database. This table stores all the user information, including usernames and passwords, for your WordPress site.

3. Choose the user to reset the password for.

Once you are in the "wp_user table, find the particular user account for which you want to change or reset the password. Click on the corresponding edit button (usually represented by a pencil icon) to proceed.

4. Set the new password

In the user edit screen, locate the "user_pass" field and enter your desired new password in the corresponding input box. Make sure to choose a strong password to enhance security.

5. Set the password encryption to MD5.

WordPress uses MD5 encryption for passwords stored in the database. To ensure compatibility, you should change the password encryption for the new password you entered. Scroll down further in the user edit screen and choose "MD5" from the dropdown menu next to the "user_pass" field.


You have successfully changed or reset your WordPress password in the database, adding an extra layer of security to your website. If you found this tutorial helpful, make sure to check out our other posts for more WordPress tips and tricks.

Rizwan Aritonang

An independent WordPress & Front-End Developer from Bandung, Indonesia.

Get In Touch

Leave a Comment