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

最新文章

  1. LCM性质 + 组合数 - HDU 5407 CRB and Candies
  2. luogg_java学习_01_JAVA基本概述
  3. R笔记1
  4. JS检测浏览器是否支持HTML5视频播放 (标签<video>) ,
  5. 20151227感知机(perceptron)
  6. Java笔记(五)……运算符
  7. Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5
  8. mahout分类
  9. 【THUWC 2017】在美妙的数学王国中畅游
  10. flask中需要的基本配置信息
  11. Ambari2.7.3 和HDP3.1.0搭建Hadoop集群
  12. H5拖动火狐自动打开新标签
  13. 信息安全与Linux系统
  14. ubuntu 中文设置
  15. 【设计模式】—— 观察者模式Observer
  16. pyqt5-基础
  17. Py之pandas:dataframe学习【转载】
  18. IdentityServer3零星笔记
  19. iOS应用内抓包、NSURLProtocol 拦截 APP 内的网络请求
  20. 关闭mysql慢查询日志

热门文章

  1. LeetCode(100) Same Tree
  2. Python数据结构--树遍历算法
  3. CentOS 7中设置PHP7的Log文件日志
  4. Android开发——后台获取用户点击位置坐标(可获取用户支付宝密码)
  5. Halloween Costumes(区间DP)
  6. PTA 04-树5 Root of AVL Tree (25分)
  7. 日志不得应用情况切换强制standby改变状态为primary
  8. Codeforces 549C(博弈)
  9. HDU——1054 Strategic Game
  10. easyui combotree选项重复