mysql5.7修改root密码

use mysql;

update mysql.user set authentication_string=password('123456') where user='root';

flush privileges;

posted @ 2019-12-17 10:26  uzxin  阅读(668)  评论(0)    收藏  举报