当前位置:网站首页>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与分布式:哨兵模式
- Uniapp WeChat small application reference standard components
- Nuget package and upload tutorial
- OAuth2:搭建授权服务器
- 高等数学——常用不定积分公式
- R语言ggplot2可视化:使用ggpubr包的ggboxplot函数可视化分组箱图、使用ggpar函数改变图形化参数(caption、添加、修改可视化图像的题注、脚注内容)
- abaqus find contact pairs报错:surface name is already in use
- The 232-layer 3D flash memory chip is here: the single-chip capacity is 2TB, and the transmission speed is increased by 50%
- Redis与分布式:主从复制
- 力扣:738.单调递增的数字
猜你喜欢

"Listen to me, thank you" can be said in ancient poetry?Tsinghua University has developed an artifact of "Searching Sentences According to Meaning", which can search for the famous sayings you want wi
![MySQL [subquery]](/img/0b/9bbf54c500d85976e6d6776b6c6f13.png)
MySQL [subquery]

Getting started with UnityShader (3) - Unity's Shader

LeetCode二叉树系列——110.平衡二叉树

Redis与分布式:集群搭建

Unity Shader入门精要学习——透明效果

四象限时间管理有多好用?

Analysis of the startup source code of hyperf (2) - how the request reaches the controller

以后面试官问你 为啥不建议使用Select *,请你大声回答他!

MySQL【子查询】
随机推荐
四象限时间管理有多好用?
OAuth2:资源服务器
Redis与分布式:哨兵模式
微服务架构选型
In the future, the interviewer asks you why it is not recommended to use Select *, please answer him out loud!
微信聊天记录中搜索红包
Getting started with UnityShader (1) - GPU and Shader
力扣:56. 合并区间
网线RJ45接口针脚[通俗易懂]
Numbers that appear only once in LeetCode
常用工具命令速查表
OAuth2:单点登陆客户端
看交互设计如何集成到Scrum敏捷流程中
NPM Taobao mirror (latest version) released a new version of npm mirror at 2021-11-21 16:53:52 [easy to understand]
redhat/openssl generates a self-signed ca certificate and uses it
Trigonometric identity transformation formula
763.划分字母区间——之打开新世界
三角恒等变换公式
【Pytorch】torch.argmax()用法
力扣:738.单调递增的数字
https://mysqlconnector.net/connection-options/