• 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 能够成功连接

  • 相关阅读:
    《JS高级程序设计》之七
    《JS高级程序设计》之六
    《JS》之原型链
    《JS高级程序设计》之五
    《JS高级程序设计》之四
    Spring Cloud Config自动刷新配置
    Rancher自动构建部署服务
    OpenStack实例noVNC URL获取
    Jenkins配置构建Maven项目并打包Docker镜像推送至私仓
    服务注册中心,Eureka与Zookeeper比较
  • 原文地址:https://www.cnblogs.com/aunrea/p/12448065.html
Copyright © 2020-2023  润新知