zoukankan      html  css  js  c++  java
  • 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 能够成功连接

  • 相关阅读:
    node
    github
    [模块] pdf转图片-pdf2image
    python 15 自定义模块 随机数 时间模块
    python 14 装饰器
    python 13 内置函数II 匿名函数 闭包
    python 12 生成器 列表推导式 内置函数I
    python 11 函数名 迭代器
    python 10 形参角度 名称空间 加载顺序
    python 09 函数参数初识
  • 原文地址:https://www.cnblogs.com/aunrea/p/12448065.html
Copyright © 2011-2022 走看看