当前位置:网站首页>DBeaver连接MySQL 8.x时Public Key Retrieval is not allowed 错误解决
DBeaver连接MySQL 8.x时Public Key Retrieval is not allowed 错误解决
2022-07-31 14:51:00 【我不知道也不关心】
两种解决办法(任选其一即可):
方法一: jdbc url带上这个参数 allowPublicKeyRetrieval=true
方法二: jdbc url带上这个参数 useSSL=false
原因就是,mysql8为了安全默认useSSL=true,allowPublicKeyRetrieval=false;如果我们没有配置SSL证书,那么设置useSSL=false或用服务器提供的公钥,但这2中方式都不安全所以默认都是关闭的,需要自己手动启用.
官方文档表述:
边栏推荐
猜你喜欢
随机推荐
自适应控制——仿真实验三 用超稳定性理论设计模型参考自适应系统
Redis与分布式:主从复制
Nuget package and upload tutorial
The meaning of node_exporter performance monitoring information collection in Prometheus
Spark学习(3)-Spark环境搭建-Standalone
看交互设计如何集成到Scrum敏捷流程中
R语言ggstatsplot包ggbarstats函数可视化条形图、并添加假设检验结果(包含样本数、统计量、效应大小及其置信区间、显著性、组间两两比较、贝叶斯假设)、检验结果报告符合APA标准
Small test knife: Go reflection helped me convert Excel to Struct
ASP.NET Core 产生连续 Guid
Getting started with UnityShader (3) - Unity's Shader
组合系列--有排列就有组合
[QNX Hypervisor 2.2 User Manual]9.14 safety
element-plus虚拟表格virtual-list组件中是怎么实现清理lodash.memoize缓存的?
Numbers that appear only once in LeetCode
为什么要分库分表?
以后面试官问你 为啥不建议使用Select *,请你大声回答他!
深入浅出边缘云 | 4. 生命周期管理
《微信小程序-进阶篇》Lin-ui组件库源码分析-Icon组件
I summed up the bad MySQL interview questions
Node实现数据加密