Database » How to Reset WordPress Password from phpMyAdmin Database

How to Reset WordPress Password from phpMyAdmin Database

Locked out of your wp-admin area? Forgot the password? No problem, the easiest way to regain access is to reset your admin password from your database via phpMyAdmin.

Step 1. Open PHPMyAdmin

The first step is to log into your cPanel and under Databases select phpMyAdmin.

The first step is to log into your cPanel and under Databases select phpMyAdmin 1024x498 1 - How to Reset WordPress Password from phpMyAdmin Database
log into your cPanel and under Databases select phpMyAdmin

Step 2. Select your database name

From the left side click on the database used by the WordPress installation that you want to reset the password for.

select db - How to Reset WordPress Password from phpMyAdmin Database
Select your database name in PHPMyAdmin
TIP: You can find the database name inside wp-config.php file

Step 3. Open wp_users table and click on the edit button next to the user.

Once you are in the right database look for a wp_users table and then click on the Edit before your username.

locate and edit - How to Reset WordPress Password from phpMyAdmin Database
Open wp_users table and click on the edit button next to the user

Step 4. Set new password, choose MD5 and save it.

Under the user_pass row, for Function select MD5, and for Value put your new password.

Set new password choose MD5 and save it - How to Reset WordPress Password from phpMyAdmin Database
Set new password, choose MD5 and save it

Click on the Go button at the bottom of the screen and thats it, you’ve just reset your WordPress admin password via phpMyAdmin and can now login to the wp-admin.

See also  How to access WordPress using temporary server URL

Was this post helpful?

Leave a Comment

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.

Recommended