How to Reset Your WordPress Password Using cPanel phpMyAdmin

How to Reset Your WordPress Password Using cPanel phpMyAdmin

How to Reset Your WordPress Password Using cPanel phpMyAdmin

 

How to Reset Your WordPress Password Using cPanel phpMyAdmin

If you’ve forgotten your WordPress password and cannot reset it via email, you can use cPanel’s phpMyAdmin tool to reset it directly from the database. This guide walks you through the process safely.

What You Will Need

  • Access to your cPanel account.
  • Knowledge of your WordPress database name (usually found in wp-config.php file).

Step 1: Log into cPanel

Open your browser and go to https://yourdomain.com/cpanel. Enter your username and password to access the cPanel dashboard.

Step 2: Open phpMyAdmin

In cPanel, scroll down to the Databases section and click on phpMyAdmin.

Step 3: Select Your WordPress Database

In phpMyAdmin, locate your WordPress database name from the left sidebar and click it. If unsure about your database name, check the wp-config.php file in your WordPress root folder for the DB_NAME value.

Step 4: Open the Users Table

Inside the database, find the table that ends with _users (e.g., wp_users). Click on this table to open the list of WordPress users.

Step 5: Edit Your User Password

  1. Find the row with your WordPress username.
  2. Click the Edit button (usually a pencil icon) next to your user.
  3. Locate the user_pass field.
  4. In the Function dropdown next to user_pass, select MD5. This encrypts your password correctly.
  5. In the Value field, delete the existing value and enter your new password in plain text.
  6. Scroll down and click Go to save the changes.

Step 6: Log in to WordPress

Return to your WordPress login page (https://yourdomain.com/wp-login.php) and use your username and the new password you just set.

Important Notes

  • Using MD5 is required because WordPress stores passwords in hashed form.
  • For better security, after logging in, update your password again via the WordPress dashboard to use the latest hashing method.
  • If you are uncomfortable with this process, contact your hosting provider for assistance.
Resetting your WordPress password through phpMyAdmin is a quick and effective way to regain access when other methods fail.

Post Your Comment

Build Your Website with HiveRift

From professional business to enterprise, we’ve got you covered!

©2025, Hosting. All Rights Reserved by KhatuShyam Technologies

HiveRift
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.