use mysql;
update mysql.user set authentication_string=password('123456') where user='root' ;
flush privileges;
mysql5.7.20版本修改密码
最新推荐文章于 2023-09-21 18:13:50 发布
use mysql;
update mysql.user set authentication_string=password('123456') where user='root' ;
flush privileges;