1. Wordpress built-in password retrieval method
If the email address of your admin account is correct, click "forgot password" on the WordPress logon page based on the common password retrieval steps ?" Enter the admin or email address. Then, you will receive a password restart email and click the restart link in it. You will receive an email containing the user name and password later. However, if your VM does not support the mail () function, you can use the following methods to retrieve the WordPress password.
2. Execute the Mysql statement to change the Wordpress password.
Use tools such as Phpmyadmin to log on to your database and run the following statement: "update user 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 pwd. php file, and add: echo md5 ('your password') to it; Upload it to the root directory of the host and execute http: // your domain name/pwd. php, then connect to your database and execute update wp_users set user_pass = 'to execute pwd. the php string 'Where user_login = 'admin'; OK. Now you can use your own password to enter the administrator account.
4. Change the MD5 value to retrieve the WordPress password.
Log on to the phpMyAdmin background, select the database where WordPress is located, click the wp_users option, select browse option on the right-edit user_login to go to the editing page, and change the password to "5d41402abc4b2a76b9719d911017c592 ", return to the Wordpress login page and log on with the password "hello.
5. Use the password-resetter file
Click here to download the password-resetter.zip, unzip it, upload the password-resetter.php file to the WordPress root directory, run http: // your domain name/password-resetter.php, at Set admin password: enter the administrator password you want to reset! Click submit to query the content. Remember to delete the password-resetter.php file after resetting the password!