DBeaver连接MySQL 8.0显示"Unable to load authentication plugin 'caching_sha2_password'."错误的问题


下载MySQL绿色版本mysql-8.0.12-winx64,手动安装完成后。使用DBeaver连接提示"Unable to load authentication plugin 'caching_sha2_password'."。网上查阅资料发现My SQL 8.0.4开始默认使用新的认证插件"caching_sha2_password",而DBeaver还在使用原来的"mysql_native_password"插件。于是修改my.ini文件,设置默认使用mysql_native_password:

[mysqld]
default_authentication_plugin=mysql_native_password

 

参考资料:

https://stackoverflow.com/questions/49194719/authentication-plugin-caching-sha2-password-cannot-be-loaded


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM