Mastodon Skip to main content

How to Reset WordPress Admin Password on Cpanel or Local Host.

How to Reset WordPress Admin Password on Cpanel or Local Host.

Recently, one of our clients asked us how to reset the admin password of WordPress on cPanel or localhost? Sometimes it happened you forget your password and you can not reset your password by email.

Even in most cases, your hosting provider doesn't have permission to reset your password or reset your password on behalf of you. so here are only 2 ways that help you to reset your WP-ADMIN Password.

Don't worry… If you are running WordPress on cPanel or localhost. Here, we will describe to you how to reset the WordPress admin password on cPanel or localhost.

Reset WordPress Admin Password on cpanel

Reset Your WordPress  Admin Password. Please follow the below steps and Manually reset your password:

  1. Log into cPanel.
  2. Find Databases
  3. Under Databases, click phpMyAdmin.
Step-1. phpmyadmin
  1. Click on the WordPress database (if you installed this through QuickInstall, this will be named  wrdp# ) from the left-hand panel list. Click wp_users from the left-hand panel list.
step 2 resetpassword2
  1. Under user_login you will see the list of registered users. Select the user whose password you wish to reset, click edit.
  2. Under the user_pass column, In the Function drop-down menu, select MD5 and In the value column, Update new password what you would like the password to be.
step 3 resetpassword3
  1. At the bottom of the page, click GO to save your new password.
  2. That’s It, you can now log in to your WordPress Admin on Cpanel using the new password.

| Read More: Top 100 Ways to make money online

Reset WordPress Admin Password on Localhost

We are using phpMyAdmin to reset a password on localhost. Please visit phpMyAdmin control panel by using the below URL in your browser’s address bar: http://localhost/phpmyadmin/

  1. You will be asked to provide your MySQL username and password. Typically, the username is root with no password.
  2. Once you are logged in, you need to select your WordPress database.
step-1-select-database-for-reset-your-wordpress-admin-password-1
  1. Once you select your database, you will see a list of tables on the left-hand side in your WordPress database. Click on the Browse link next to the WordPress users table.
Step2-wordpress-users-table-for-reset-your-wordpress-admin-password
  1. You will now see the list of entries in your users' table. The number of rows varies on how many users are registered on your WordPress site, then search your admin username.
  2. Next, you need to click on the Edit link next to the username of the admin user.
Step 3 users in wordpress - for reset your wordpress admin password
  1. This will open up a form where you can edit the information stored in WordPress database for that user.
Step 4 userpass - for reset your wordpress admin password
  1. Scroll down to the user_pass field and you need to select MD5 in the ‘function’ column. After that type a new password in the ‘value’ column.
  2. Click on the Go button at the bottom to save your changes.
  3. That’s It, you can now login to your WordPress Admin on localhost using the new password.

We hope this article, helped you learn how to reset the WordPress admin password on localhost. If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on FacebookTwitter.

Related posts:

One Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to our newsletter

Discover more from Anantvijaysoni.in

Subscribe now to keep reading and get access to the full archive.

Continue reading