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

fixed: embedded-redis: Unable to run on macOS Sonoma

Issue you might see below error while trying to run embedded-redis for your testing on your macOS after you upgrade to Sonoma. java.la...