DBeaver 连接MySql 8.0报错 Unable to load authentication plugin 'caching_sha2_password'
解决方案
1. 网上查询资料,得到结论,由于mysql5.x版本和8.x版本的区别导致
5.7版本是:default_authentication_plugin=mysql_native_password
8.x版本就是:default_authentication_plugin=caching_sha2_password
2. 查看DBeaver的默认驱动
默认安装版本5.1.44(截止2020.3.9日)
3. 移除原有驱动,下载新驱动
DBeaver下载的驱动来自Maven,搜索结果如下
4. 配置Dbeaver 驱动信息,并下载
5. 下载完成后,本地客户端修改完成
6. 重新尝试连接,遇到问题如下
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.
7. 修改【服务器时区】为【Asia/Shanghai】后,成功连接
本文来自博客园,作者:Aunrea,转载请注明原文链接:https://www.cnblogs.com/aunrea/p/12448065.html