问题1:配置文件中使用的用户密码的plugin不是native,需要修改;
解决方法:
update mysql.user set host='%' where user='root';
update mysql.user set plugin='mysql_native_password' where user='root';
select user,host,plugin from mysql.user;
效果:
问题2: 密码的认证有问题
解决方法:
update mysql.user set authentication_string='*16F51094B9A153AECE86BCA3F7A237CB6FE5C183' where user='root';
flush privileges;
select user,host,plugin,authentication_string from mysql.user;
效果:
最后stop 掉mycat ,重新start mycat就可以重新连接啦!!