Fri Jul 28 16:28:52 CST 2017 WARN: Establishing SSL connection without server’s identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection mus
2024-08-26 03:26:47
Fri Jul 28 16:28:52 CST 2017 WARN: Establishing SSL connection without server’s identity verification is not recommended. According 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 setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
解决方式:
Connection connect = DriverManager.getConnection(
"jdbc:mysql://localhost:3306/test?useSSL=false","root","root");#加入useSSL=false
最新文章
- LCM性质 + 组合数 - HDU 5407 CRB and Candies
- luogg_java学习_01_JAVA基本概述
- R笔记1
- JS检测浏览器是否支持HTML5视频播放 (标签<;video>;) ,
- 20151227感知机(perceptron)
- Java笔记(五)&hellip;&hellip;运算符
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5
- mahout分类
- 【THUWC 2017】在美妙的数学王国中畅游
- flask中需要的基本配置信息
- Ambari2.7.3 和HDP3.1.0搭建Hadoop集群
- H5拖动火狐自动打开新标签
- 信息安全与Linux系统
- ubuntu 中文设置
- 【设计模式】—— 观察者模式Observer
- pyqt5-基础
- Py之pandas:dataframe学习【转载】
- IdentityServer3零星笔记
- iOS应用内抓包、NSURLProtocol 拦截 APP 内的网络请求
- 关闭mysql慢查询日志