2018-04-19 mysql 忘记密码

mysql
use mysql;
show tables;
UPDATE user SET Password = password ('123456') WHERE User = 'root' ; 
flush privileges;
exit;

你可能感兴趣的:(2018-04-19 mysql 忘记密码)