Running a WordPress blog, it’s important and necessary to know how to set WordPress admin password. Because sometimes you may be not able to access the administration panel with the original password in the cases that you forget the account details, the website is hacked, or for other reasons.
Even, password is the first security line to prevent other people maliciously to log into your site and destroy your content. And resetting password is a great way to prevent your site from dangers and to boost the WordPress security.
No matter what situations you are in – change the password to better protect your site or reset the password for you forget the right answer, the following methods can definitely help you a lot.
Change WordPress Password With Admin
If you inadvertently leaked the site passwords to others or suspect someone cracks your password, you can initially log into your admin panel to change the password. Go to Users -> Your Profile, scroll down the webpage and you see the New Password option like the below screenshot.
You can simply enter the new password and repeat it in the Repeat New Password field. Please note that the password should be at least 7 characters long. In order to make it stronger, you can use upper and lower case letters, numbers, and symbols like ! ” ? $ % ^within the password. If you are not good at this part, some password generators can help you. Once the password strength indicator bar turns to be green, your password is strong.
Once you have set the new password, click on the below blue button to update profile and save changes.
Change Password Using Email
Forget password is a common mistake happened among WordPress users as today people always have multiple passwords to remember. As well, we have received many emails to ask us about how to recover WordPress password.
Some people are irritable and crazy when they forget his WordPress password and cannot into his site. However, you don’t need to be worried. WordPress has a password reminder on the login form, showcasing as a link of Lost your Password?.
Click through this link, you will be linked to another webpage which asks you to enter your username or email address so that you can receive a link to create a new password via email.
Just feel free to fill your username or email and submit the information by clicking on the Get New Password button. And then, WordPress will send you an email which shows you a notification asking you to check email for the confirmation.
check for your email inbox and you may find an new email with the subject as WhatsWP Password Reset. If you do not receive the email, just wait for a moment and check it latter, or you can check the Spam or Junk Mail folder.
When you open the email, it looks like the below screenshot.
Click on the second link and it brings you back to your website to reset a new password. at last, click on the bottom button to save changes. Once you see the message as “Your password has been reset. Log in”, you have successfully changed the password.
Change WordPress Password via phpMyAdmin
phpMyAdmin is written in PHP, which is designed for managing the administration of MySQL over the Internet. It comes with an intuitive interface and allows users to handle databases, indexes, tables, permissions, relations,users via the user interface. In this way, users with little technical knowledge have full ability to configure and manage their database. Due to these highlights, phpMyAdmin is a great tool for the change of admin password.
To do this, simply follow the steps listed as below.
Locate Database File in phpMyAdmin
Log into your cPanel or other admin panel account of web hosting, then find phpMyAdmin icon in the Databases section. Click the icon and you can simply login to phpMyAdmin.
When you are taken into phpMyAdmin, you are required to select your website database from the left list. If you have multiple installations and forget the database name, you can find it through the wp-configure.php file in the root WordPress directory.
Change WordPress Admin Password by Hand
Look for the table wp_users in the database, and click it to browse. You can see the detailed user information in the following. Then choose the record you want to reset and click the pencil icon to edit it.
At present, you can see a field like the following.
Enter the password in the Input field, and click the MD5 button, the plugin can automatically generate the MD5 result. Then you can copy the Result text and paste it into phpMyAdmin user_pass value.
Reset Password with SQL Command
For users who are familiar with SQL query, they can also reset WordPress admin password with a code snippet. Click the SQL tab on the top navigation bar, you can see a command window like the following.
Copy and paste the below code into the window. Note that you should reset the “new_password” with a new password you want to use to and replace the “_admin_username” with your present username.
Once done, you can click the GO button to submit the query. If everything goes smoothly without errors, you can login to your website with the new password.