How to deal with WordPress Password forgotten

Source: Internet
Author: User
Tags wordpress database

1. the WordPress Password is stored in the database as an MD5 code.
Based on this principle, You can manually update the database and reset the custom password.
2. Run the MySQL statement to modify the WordPress Password.
Use tools such as phpMyAdmin to log on to your database management and execute the following statement:
Update wp_uo2kml_users SET Password = PASSWORD ("new password") where user = 'username ';
To update your WordPress Password.
3. Use the PHP file to change the WordPress Password
Create a new PWD. php file and add the following to it:
Echo MD5 ('your password ');
Upload to the root directory of the host, execute http: // your domain name/pwd. php, and then connect to your database for execution.
Update wp_uo2kml_users set user_pass = 'execute PWD. php to display the string 'where user_login = 'admin ';
OK. Now you can use your own password to enter the administrator account.
Note: wp_uo2kml_users is the user management table in the WordPress database.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.