How to change WordPress password through cPanel and phpMyAdmin

Did you forget your WordPress password? No worries. Mistakes are evidence that we are a human being, and no mistake being a human. You can easily change 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 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 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: Login 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 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 being encripted its mandatory to change it into MD5.


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




Leave a Reply

Your email address will not be published. Required fields are marked *