You must reset your password using ALTER USER statement before executing this statement.

刚初始化的MySQL实例要求先修改密码。否则会报错:

 

alter user root@localhost identified by 'Mypasswd!';
flush privileges;

posted on 2019-07-04 17:26  fklin  阅读(229)  评论(0编辑  收藏  举报

导航