当前位置:网站首页>WARN: Establishing SSL connection without server's identity verification is not recommended when connecting to mysql
WARN: Establishing SSL connection without server's identity verification is not recommended when connecting to mysql
2022-07-30 10:15:00 【I got zero marks in high school!】
1. Detailed error message
Fri Jul 29 09:04span>:03 GMT+08:00 2022 WARN: Establishing SSL connection without server's identity verification is not recommended. According to to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'.You need either to explicitly disable SSL by settinguseSSL=false, or set useSSL=true and provide truststore for server certificate verification.Translation:Friday 7month29day09:04:03span> GMT+08:00 2022 WARN:It is not recommended to establish SSL without server authenticationconnect.According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements, if no explicit option is set, an SSL connection must be established by default.To comply with existing applications that do not use SSL, the verifyServerCertificate attribute is set to 'false'.You need to explicitly disable SSL by setting useSSL=false, or setting useSSL=true and provides a trust store for server certificate verification.
Second, the solution
Add **&useSSL=false** to the url to connect to the database, and then run the program without warning!!!
边栏推荐
- 最长公共序列、串问题总结
- flowable工作流所有业务概念
- Re21: Read the paper MSJudge Legal Judgment Prediction with Multi-Stage Case Representation Learning in the Real
- 梅科尔工作室-看鸿蒙设备开发实战笔记六—无线联网开发
- A near-perfect Unity full-platform hot update solution
- spark udf 接受并处理 null值.
- 梅科尔工作室-看鸿蒙设备开发实战笔记五——驱动子系统开发
- CVTE school recruitment written test questions + summary of knowledge points
- (Text) Frameless button settings
- flowable workflow all business concepts
猜你喜欢
Re16: Read the paper ILDC for CJPE: Indian Legal Documents Corpus for Court Judgment Prediction and Explanation
Domino Server SSL Certificate Installation Guide
学习笔记11--局部轨迹直接构造法
通过构建一个顺序表——教你计算时间复杂度和空间复杂度(含递归)
连接mysql报错WARN: Establishing SSL connection without server‘s identity verification is not recommended
Re19: Read the paper Paragraph-level Rationale Extraction through Regularization: A case study on European Court
JVM内存布局、类加载机制及垃圾回收机制详解
4、yolov5-6.0 ERROR: AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘ 解决方案
再有人问你分布式事务,把这篇扔给他
leetcode 剑指 Offer 22. 链表中倒数第k个节点
随机推荐
Meikle Studio - see the actual combat notes of Hongmeng equipment development five - drive subsystem development
[100个Solidity使用技巧]1、合约重入攻击
快解析结合泛微OA
CVTE school recruitment written test questions + summary of knowledge points
梅科尔工作室-看鸿蒙设备开发实战笔记五——驱动子系统开发
(C语言)文件操作
105. 从前序与中序遍历序列构造二叉树(视频讲解!!)
Determine whether a tree is a complete binary tree - video explanation!!!
论文阅读:SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
方法的参数传递
debian10安装djando
leetcode 剑指 Offer 25. 合并两个排序的链表
Meikle Studio - see the actual combat notes of Hongmeng device development 4 - kernel development
连接mysql报错WARN: Establishing SSL connection without server‘s identity verification is not recommended
Alibaba Cloud OSS Object Storage
New in GNOME: Warn users when Secure Boot is disabled
Re17: Read the paper Challenges for Information Extraction from Dialogue in Criminal Law
By building a sequence table - teach you to calculate time complexity and space complexity (including recursion)
(BUG record) No module named PIL
多线程--线程和线程池的用法