当前位置:网站首页>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中方式都不安全所以默认都是关闭的,需要自己手动启用.
官方文档表述:
边栏推荐
- R语言ggstatsplot包ggbarstats函数可视化条形图、并添加假设检验结果(包含样本数、统计量、效应大小及其置信区间、显著性、组间两两比较、贝叶斯假设)、检验结果报告符合APA标准
- Selenium自动化中无头浏览器的应用
- Why do we need to sub-library and sub-table?
- Nuget package and upload tutorial
- Word表格转到Excel中
- c语言hello world代码(代码编程入门)
- 435. 无重叠区间
- Sentinel服务熔断和降级
- Sentinel限流和异常处理
- Introduction to BigDecimal, common methods
猜你喜欢
乡村基冲刺港交所:5个月期内亏2224万 SIG与红杉中国是股东
Sentinel热点参数限流
Getting started with UnityShader (3) - Unity's Shader
The 232-layer 3D flash memory chip is here: the single-chip capacity is 2TB, and the transmission speed is increased by 50%
自适应控制——仿真实验二 用Narendra方案设计模型参考自适应系统
Essential Learning for Getting Started with Unity Shader - Transparency Effect
搭建私有的的Nuget包服务器教程
OpenShift 4 - Customize RHACS security policies to prevent production clusters from using high-risk registry
The JVM a class loader
Sentinel服务熔断和降级
随机推荐
How to clean up the lodash.memoize cache in the element-plus virtual table virtual-list component?
leetcode303场周赛复盘
Redis与分布式:主从复制
Description of Hikvision camera streaming RTSP address rules
Sentinel安装与部署
如何进行需求分析评审
小试牛刀:Go 反射帮我把 Excel 转成 Struct
格林美瑞交所IPO:募资3.8亿美元 更多中国企业将赴欧洲上市
DeepLab Series Learning
OpenCV测量物体的尺寸技能 get~
763.划分字母区间——之打开新世界
Jmeter常用的十大组件
【Pytorch】torch.argmax()用法
Excel快速对齐表格的中姓名(两个字姓名和三个字姓名对齐)
Nuget package and upload tutorial
TCP详解
The magic of SQL MERGE statement (detailed instructions)
思路迪医药冲刺港股:5个月亏2.9亿 泰格医药与先声药业是股东
Introduction to BigDecimal, common methods
svn安装及使用(身体功能手册)