in usingWordPress websitewhenforgotten password?is a common problem. However, when there is no access to the registered email toReset PasswordWhen it comes to email, this can cause even more trouble. The good news is that WordPress offers a variety of ways to help you without accessing emailReset password.Make sure you are able to retrieve access without any problems.
![Image [1] - How to reset WordPress password when unable to access email - Photon Fluctuation Network | Professional WordPress Repair Service, Worldwide, Fast Response](https://www.361sale.com/wp-content/uploads/2024/07/2024070503061066.png)
Method I:Reset password via phpMyAdmin
phpMyAdmin is a graphical tool for managing MySQL databases. With phpMyAdmin, it is possible toReset password by editing user information directly in the WordPress databaseThe
![Image [2] - How to reset WordPress password when unable to access email - Photon Fluctuation Network | Professional WordPress Repair Service, Global Coverage, Fast Response](https://www.361sale.com/wp-content/uploads/2024/07/2024070503073932.png)
1.Login to your phpMyAdmin panel
- Log in to the hosting control panel (e.g.Pagoda Control Panel), locate and click on thephpMyAdmin iconThe
- In the phpMyAdmin interface, select your WordPress database.
2Find the user table
- In the list of database tables find the table starting with
wp_usersNamed tables (table prefixes may vary, such aswp3_users). - strike (on the keyboard)
wp_userstable to view its contents.
![Image [3] - How to reset WordPress password when unable to access email - Photon Fluctuation Network | Professional WordPress Repair Service, Worldwide, Fast Response](https://www.361sale.com/wp-content/uploads/2024/07/2024070503111094.png)
3.Editing user information
- locateNeed to reset password(used form a nominal expression)user lineClick on "compiler"Button.
- exist
user_passIn the field, select "MD5" as a function and thenEnter new passwordThe - Click "fulfillment" to save the changes.
4.Login to WordPress
- Try to log in to your WordPress backend using your newly set password. If everything works, you should be able to log in successfully.
![Image [4] - How to reset WordPress password when unable to access email - Photon Fluctuation Network | Professional WordPress Repair Service, Worldwide, Fast Response](https://www.361sale.com/wp-content/uploads/2024/07/2024070503112567.png)
Method II:Reset password using FTP
pass (a bill or inspection etc)FTPAccessing WordPress files is also an effective method. This method involves editing thefunctions.phpfile for the next loginReset PasswordThe
- Connect to your server
- Connect to your server using an FTP client such as FileZilla. RequiredServer address, user namerespond in singingcryptographicThe
- Navigate to the Themes folder
- locate
wp-content/themes/directory, and then go to your currently usedTheme FolderThe
- locate
- Edit the functions.php file
- Download and open
functions.phpfile, add the following code:
- Download and open
function reset_password() {
if (isset($_GET['reset_password'])) {
wp_set_password('new_password', 1); // 1 is the user ID
}
}
add_action('init', 'reset_password');
- commander-in-chief (military)
new_passwordReplace yournew passwordwill1Replace withThe user ID for which you need to reset the password.
![Image [5] - How to reset WordPress password when unable to access email - Photon Fluctuation Network | Professional WordPress Repair Service, Worldwide, Fast Response](https://www.361sale.com/wp-content/uploads/2024/07/2024070503120436.png)
Method 3: Use the command line tool WP-CLI
WP-CLI is a powerful command line tool that lets you manage WordPress websites. With WP-CLI, you can easily reset user passwords.
- Installation of WP-CLI
- If your server does not already have WP-CLI installed, follow theOfficial Installation GuidePerform the installation.
- Open a terminal or command line
- Log in to your server using SSH and navigate to your WordPress installation directory.
- Reset Password
- Use the following command to reset the password:
wp user update 1 --user_pass=new_password
- commander-in-chief (military)
1Replace withNeed to reset password(used form a nominal expression)user IDwillnew_passwordReplace it with your new password.
![Image [6] - How to reset WordPress password when unable to access email - Photon Fluctuation Network | Professional WordPress Repair Service, Worldwide, Fast Response](https://www.361sale.com/wp-content/uploads/2024/07/2024070503123390.png)
Method 4: Use of database management tools
If your host offers otherDatabase management tools(such as MySQL Workbench), you can also use these tools to reset your password. Process and UsagephpMyAdminSimilar:
- Log in to the database management tool
- Open MySQL Workbench and connect to your database.
- Finding and editing the user table
- Navigate to your WordPress database and find the
wp_usersTable. - Find the line of the user who needs to reset their password and edit the
user_passfield, select "MD5" and enter the new password.
- Navigate to your WordPress database and find the
- Save Changes
- Save your changes to the database and then log in to WordPress with your new password.
summarize
Resetting your WordPress password when you can't access your signup email may seem complicated, but it can be solved effectively with the above method. Whether you use thephpMyAdmin, FTP, WP-CLI or other database management tools, each method provides detailed steps and instructions to help you restore access to your website smoothly. During the operation, it is important to ensure the security of your website and avoid any unnecessary risks. If you are not familiar with these methods or feel uncertain, it is recommended to seek professional technical support to ensure the safety and success of the operation.
Link to this article:https://www.361sale.com/en/12613The article is copyrighted and must be reproduced with attribution.





















![Emoji[wozuimei]-Photonflux.com | Professional WordPress repair service, worldwide, rapid response](https://www.361sale.com/wp-content/themes/zibll/img/smilies/wozuimei.gif)
![Emoticon[baoquan] - Photon Wave Network | Professional WordPress Repair Services, Worldwide Coverage, Rapid Response](https://www.361sale.com/wp-content/themes/zibll/img/smilies/baoquan.gif)

No comments