我拉取mysql时候没有指定mysql版本号, 默认拉取的是Mysql8
最新mysql 8的安全插件和本地的客户端不兼容
需要做如下修改
use mysql
select user,host,plugin,authentication_string from user;
alter user 'root'@'%' identified by 'qwe123!' password expire never;
alter user 'root'@'%' identified with mysql_native_password by 'qwe123!';
flush privileges;
FR:徐海涛(hunkXu)