spring boot 使用mysql数据库,启动的时候发现日志中有

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

的警告,这是因为在高版本的mysql中默认要求使用ssl连接来访问数据库.

解决办法:

在jdbc url中加入useSSL参数(参数值可以为false,也可以为true),如下所示:

jdbc:mysql://localhost:3306/jsp_db?useSSL=false

Establishing SSL connection without server's identity verification is not recom相关推荐

  1. 【环境问题】基础Web环境搭建问题记录5—Establishing SSL connection without server's identity verification is not recom

    环境: MacBook Pro 15 jdk8 IntelliJ IDEA 基础Web框架:Spring+SpringMVC+MyBatis+MySQL+Maven 问题: WARN: Establi ...

  2. 关于JDBC连接MySQL的时候出现警告:Establishing SSL connection without server‘s identity verification is not recom

    运行项目的时候出现了警告 Fri Dec 17 13:19:48 CST 2021 WARN: Establishing SSL connection without server's identit ...

  3. 解决JDBC连接MySQL时发出的警告WARN: Establishing SSL connection without server‘s identity verification ...

    对于稍微有点强迫症的我来说,每次正常加载MySQL驱动后,eclipse的控制台总是出现一行红色警告: Fri Mar 30 14:55:35 CST 2018 WARN: Establishing ...

  4. Establishing SSL connection without server's identity verification is not recommended.

    完全描述:Establishing SSL connection without server's identity verification is not recommended. Accordin ...

  5. Java连接Mysql数据库警告:Establishing SSL connection without server's identity verification is not recommend

    Java使用mysql-jdbc连接MySQL出现如下警告: Establishing SSL connection without server's identity verification is ...

  6. JDBC 提示:WARN: Establishing SSL connection without server's identity verification is not recommended.

    Java连接Mysql数据库的过程中出现了如下的警告信息: WARN: Establishing SSL connection without server's identity verificati ...

  7. 解决java连接mysql警告:Establishing SSL connection without server‘s identity verification is not recommend.

    完整报错:Establishing SSL connection without server's identity verification is not recommended. Accordin ...

  8. SpringCloud工作笔记036---oauth2微服务Establishing SSL connection without server's identity verification

    JAVA技术交流QQ群:170933152 oauth2的微服务中,警告: Tue Sep 04 13:07:53 CST 2018 WARN: Establishing SSL connection ...

  9. 连接MySQL时出现警告Establishing SSL connection without server's identity verification is not recommended.

    问题描述: 连接MySQL时出现以下警告: WARN: Establishing SSL connection without server's identity verification is no ...

最新文章

  1. 《OpenCV3编程入门》学习笔记10 角点检测(一)Harris角点检测
  2. 用linux写python_linux用什么写python
  3. 两所大学中的智能车竞赛校内赛
  4. 开发日记-20190326
  5. 11.6 如何使用内嵌资源类(ResourceRetriever)?
  6. 一个ABAP程序,能够下载指定的note到本地
  7. npy一维数组如何对给出的索引进行反选
  8. 2021巨量引擎汽车直播行业研究报告
  9. 读书笔记_代码大全_第14章_组织直线型代码_第15章_使用条件语句
  10. mysql 修改表 引擎,mysql如何修改表类型(表引擎)
  11. python工作空间_Python保存工作空间的数据(pickle your data)
  12. SQL Serever学习14——存储过程和触发器
  13. TongWeb和Tomcat的区别
  14. solidworks2015安装教程
  15. 怎么设置台式计算机密码忘了,台式电脑忘记开机密码怎么办
  16. CMake Error: The source directory * does not appear to contain CMakeLists.txt.
  17. 一道代码分析题浅析String的intern()方法
  18. 解决Vmware虚拟机startx进入图形界面卡退、白屏、黑屏的问题
  19. daliu_IT学习Android笔记第一篇--Android是什么?安卓的logo来源?安卓的发展过程?
  20. 3个技巧教你做好微博号运营

热门文章

  1. 工业制造应用计算机智能的意义,机电一体化技术在智能制造的意义
  2. 安防监控常见的存储方式及存储特点
  3. 干货 | 携程IT数字办公平台iDesk的运营实践
  4. 2023湖南移动潇湘研究院专场招聘等你来报名
  5. 一直在大公司天天调参数,感觉快废了~
  6. Web后端,Java,Python,PHP哪个领域更有前景?
  7. Flutter 中的常见的按钮组件 以及自 定义按钮组件、FloatingActionButton 实现类似 闲鱼 App 底部导航凸起按钮
  8. 从风口引领者变成AI跟随者:小米在雪崩时代的技术攀爬
  9. 如何高效申请拿到美国访问学者邀请函?
  10. 基于嵌入式linux电子相册设计,用于LINUX或者嵌入式LINUX的电子相册程序,基于QT开发...