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  阅读(661)  评论(0编辑  收藏  举报