How to change WordPress password through cPanel and phpMyAdmin


Did you forget your WordPress password? No worries. Mistakes are evidence that we are human beings, and no mistake being human. You can easily change your WordPress password using the “Forget Password” option on the login page. However if you couldn’t do it, or if you no longer have access to your email registered with, you have other options.

You can change the WordPress password using cPanel or PhpMyAdmin. I’ll show you how to do it.

How to change the password using cPanel?

Step 1: Log in to your cPanel of your respective hosting account.

Step 2: Navigate to your WordPress installer (if you installed it through an auto-install option like Softoculous or Installatron)

Step 3: Navigate to the installed WordPress and click the user icon, which will directly take you to the WordPress admin panel.

Step 4: Go to Edit My Profile > Generate Password and update.

That’s it. You have successfully changed your WordPress password using AutoInstaller from cPanel.

How to change the password using phpMyAdmin? 

Step 1: Log in to your phpMyAdmin using the credential received from the hosting partner or client.

login to phpmyadmin

Step 2: Select your respective database table.

database phpmyadmin

Step 3: Click and select wp_user Table from the database.  The table name may vary depends on the inputs (database prefix) already filled during the installation.

user table in phpmyadmin

Step 4: Click and edit respective user id and look for user_pass the field and in the value column you can replace it with a new password. Under the function column, select MD5 from the dropdown menu and click on the Go button.

change wordpress password

Since your password is being encrypted it’s mandatory to change it into MD5.


That’s it. Now you will be able to log in with the new password that you just reset. It is always advisable that keep your password saved and don’t share login credentials with anyone unless it is really needed.




How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 5

No votes so far! Be the first to rate this post.

Leave a Reply

Your email address will not be published.

Start generating leads and improve branding visibility for any business.

Stay updated with all latest updates,upcoming events & much more.
Download Our Free Digital Marketing Strategy Template & Tracking Template
Download Now

Free Download

Download our free Digital Marketing Strategy Template with budget planing template, editorial calendar and tracking template. 
Download Now
Terms and Conditions apply
Click Me