mysql错误:this authentication plugin is not supported
this authentication plugin is not supported 应用程序连接mysql docker一直报错:this authentication plugin is not supported。 google发现,原来是mysql新版本(8.0以上)将root用户使用的plugin更新成caching_sha2_password。 登录mysql输入如下命令可以看到: mysql> select user,plugin from mysql.user; +------------------+-----------------------+ | user | plugin | +------------------+-----------------------+ | root | caching _sha2_ password | | mysql.infoschema | mysql _native_ password | | mysql.session | mysql _native_ password | | mysql.sys | mysql _native_ password | | root | caching_sha2_password | +------------------+-----------------------+ 解决办法有