DBeaver 连接MySql 8.0报错 Unable to load authentication plugin 'caching_sha2_password'


DBeaver 连接MySql 报错 Unable to load authentication plugin 'caching_sha2_password'.

 

网上查资料说的是mysql5.x 版本和 8.x版本的区别;

5.7版本是:default_authentication_plugin=mysql_native_password

8.x版本就是:default_authentication_plugin=caching_sha2_password
————————————————
版权声明:本文为CSDN博主「奋进2019」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/waterflying2015/article/details/81047128

 

然后查看了一下 DBeaver的默认下载驱动

 

 默认版本是 5.1.44 截止本文编写日期 2020.3.9日

因为连接的数据库 8.x版本的 所以 删除原有驱动 添加新的驱动

Dbeaver 下载驱动 采用的Maven

你想要搜索具体哪个版本的信息 可以在 https://mvnrepository.com/ 地址搜索

然后搜索信息 如下 

 

 设置信息如下

 

 点击确定  下载后 返回主页面

 

 点击 测试连接 报错如下:

The server time zone value '�й���׼ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serverTimezone' configuration property) to use a more specifc time zone value if you want to utilize time zone support.

根据网上 搜索相关问题 得到是因为 服务器时区 是自动检测所以导致的问题 然后选择 Asia/Shanghai 能够成功连接


免责声明!

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



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