Recovery your wordpress password if you forgot it.

$ mysql -u root -p
mysql> use wpdb
mysql> update wp_users set user_pass=MD5('ucLinux1!') where wp_users.user_login='errong.leng';
mysql> flush preligage;
mysql> quit

PS:
wpdb is the database name in  wp-config.php
wp-config.php
define('DB_NAME', 'wpdb');
please refer to your case.

errong.leng is the user name, please refer to your case too.
ucLinux1! is the new password, please modify to your own password.
Must call flush preligage; otherwise you have to restart your mysql service.

define('DB_NAME', 'wpdb');

No comments:

Post a Comment

@qzl/typed-i18n — Our Open-Source Typed i18n Project is Gaining Traction

 Hello everyone! 👋 We are excited to share an update about one of our open-source projects , @qzl/typed-i18n , created by the QZ-L.com team...