命令如下:

1、use mysql;

2、alter user 'root'@'localhost' identified with mysql_native_password by '********';

3、flush privileges;

posted on 2019-06-05 18:04  itprobie-菜鸟程序员  阅读(238)  评论(0编辑  收藏  举报