How to reset WordPress admin password.

Started by Rahul Sambre, June 11, 2016, 07:16:23 PM

Previous topic - Next topic

Rahul Sambre

Hi,

There are two ways to reset a lost WordPress dashboard password.
1] Using the Lost Password option.
2] Reset the password via the database.


1] Using the Lost Password option.

1) Open your WordPress administrative login page, it is usually located in (yourdomain.com/wp-admin).
2) Click on the Lost your password? option, fill out the username or email address >> Get New Password on your email address.
3) Log into your email account, which is set as your administrative WordPress contact. You can find the email message with the password reset URL there, click on it.
4) Enter your new strong password on the opened page >> Reset password.

If Lost your password? confirmation emails do not arrive, or if you have no access to the email account linked to your administrative dashboard, you can reset your password via MySQL database.

2] Reset the password via the database.

1) Check what database is used for your WordPress website, open the "wp-config.php" file located in your website document root and search "DB_NAME" you will get database name.
2) Then go to cPanel >> Databases section >> phpMyAdmin.
3) Select the database from left site of phpMyAdmin page.
4) select (click) table wp-users and click on Edit next to the admin user.
5) On the next page, type in your new strong password into the user_pass box, select "MD5" in the Function column and click Go.

You can now go back to the WordPress dashboard page and try to log in with the new password.

That's it !!!  :)