当前位置:网站首页>Public Key Retrieval is not allowed error solution when DBeaver connects to MySQL 8.x
Public Key Retrieval is not allowed error solution when DBeaver connects to MySQL 8.x
2022-07-31 14:57:00 【I don't know and don't care】
Two solutions (choose one of them):
Method 1: jdbc url with this parameter allowPublicKeyRetrieval=true
Method 2: The jdbc url takes this parameter useSSL=false
The reason is that mysql8 defaults useSSL=true and allowPublicKeyRetrieval=false for security; if we do not configure an SSL certificate, then set useSSL=false or use the public key provided by the server, but these two methods are not safe, so the default isDisabled, you need to manually enable it yourself.



Official document statement:

边栏推荐
- The 232-layer 3D flash memory chip is here: the single-chip capacity is 2TB, and the transmission speed is increased by 50%
- 架构实战营模块8消息队列表结构设计
- 使用 Chainlink Keepers 实现智能合约函数的自动化执行
- Essential Learning for Getting Started with Unity Shader - Transparency Effect
- UnityShader入门学习(三)——Unity的Shader
- Small test knife: Go reflection helped me convert Excel to Struct
- 力扣:738.单调递增的数字
- BigDecimal 简介,常用方法
- R语言ggplot2可视化:使用ggpubr包的ggboxplot函数可视化分组箱图、使用ggpar函数改变图形化参数(legend、修改可视化图像的图例在整图中的位置)
- 蔚来杯2022牛客暑期多校训练营4
猜你喜欢

华医网冲刺港股:5个月亏2976万 红杉与姚文彬是股东

The meaning of node_exporter performance monitoring information collection in Prometheus

Five dimensions to start MySQL optimization

OpenShift 4 - Deploy Redis Cluster with Operator

TRACE32——C源码关联

Excel快速对齐表格的中姓名(两个字姓名和三个字姓名对齐)

Architecture actual combat battalion module 8 message queue table structure design

OAuth2:资源服务器

公告

2021 OWASP TOP 10 漏洞指南
随机推荐
QGIS 加载WMS数据,重新投影
abaqus find contact pairs报错:surface name is already in use
How to grab configuration information for DELL SC compellent storage system
Advanced Mathematics - Commonly Used Indefinite Integral Formulas
2021 OWASP TOP 10 Vulnerability Guide
C language basic practice (nine-nine multiplication table) and printing different asterisk patterns
模板与泛型编程值typelist实现
Gorm—Go语言数据库框架
Essential Learning for Getting Started with Unity Shader - Transparency Effect
R语言的画图代码及差异性分析[通俗易懂]
49. The copy constructor and overloaded 】
OAuth2:微服务权限校验Session共享
Redis与分布式:集群搭建
MySQL [subquery]
OpenShift 4 - 定制 RHACS 安全策略,阻断生产集群使用高风险 Registry
Female service community product design
UnityShader入门学习(一)——GPU与Shader
思路迪医药冲刺港股:5个月亏2.9亿 泰格医药与先声药业是股东
R语言ggplot2可视化:使用ggpubr包的ggboxplot函数可视化分组箱图、使用ggpar函数改变图形化参数(legend、修改可视化图像的图例在整图中的位置)
力扣:56. 合并区间
https://mysqlconnector.net/connection-options/