How to change user password in WordPress using MySql

To change user password in WordPress using MySql you can use the following query.

Sample MySql

UPDATE wp_users SET user_pass = MD5('NewPassword') WHERE user_login = 'UserName';

Please Share us:
Please rate this snippet

4 thoughts on “How to change user password in WordPress using MySql

Leave a Reply