How to reset the password of a WordPress user

If you find that the password of the WordPress Administrator has been changed, or needs to be reset, you can reset it using the script attached to this guide, which allows you to automate the modification process.

USE OF chg_wp_pwd.php FILE:

1) Copy the file in the root of your WordPress via Ftp and rename the file as .php

2) Type in the Url of the file, e.g.:
http://urldelwordpress/chg_wp_pwd.php 

3) Enter the Username of the User whose password you want to reset

4) Enter a new Password 

Once the process has been completed, the password will be updated in the MySQL database.

Attachments:
chg_wp_pwd.txt