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.phpdefine('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