远程连接MySQL错误“plugin caching_sha2_password could not be loaded”的解决办法sql连接乱码
远程连接MySQL错误“plugin caching_sha2_password could not be loaded”的解决办法sql连接乱码
今天在阿里云租了一个服务器,当我用sqlyog远程连接mysql时,报了plugin caching_sha2_password could not be loaded错,即无法加载插件缓存sha2密码,但是我在cmd窗口就可以访问,在网上找了很多解决方法都没有解决,最后找到了原因。在MySQL 8.0中,caching_sha2_password是默认的身份验证插件,而不是mysql_native_password,服务器可以正常连接,本地cmd窗口 mysql -hxx.xx.xx.xx -P3306 -uroot -pRoot123. 可以正常连接,所以是我的sqlyog版本太旧了。

解决办法:
网上有两种解
订阅专栏 解锁全文
4000

被折叠的 条评论
为什么被折叠?



