警告:Establishing SSL connection without server’s identity verification is not recommended
2024-09-06 00:11:42
SpringBoot启东时红色警告:
Mon Jun 04 00:53:48 CST 2018 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
翻译如下:
请注意:不建议在没有服务器身份验证的情况下建立SSL连接。根据MySQL 5.5.45+、5.6.26+和5.7.6+的要求,如果不设置显式选项,则必须建立默认的SSL连接。您需要通过设置useSSL=false显式地禁用SSL,或者设置useSSL=true并为服务器证书验证提供信任存储
解决办法:
jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=utf-8&useSSL=false
最新文章
- Fengshui-[SZU_B40]
- pwd命令(转)
- 理解inode
- IntelliJ Idea12 破解码与中文乱码配置
- android 自动调整屏幕分辨率
- C#程序实现动态调用DLL的研究
- 第9条:覆盖equals时总要覆盖hashCode
- ural 1207 Median on the Plane
- Cordova提供了一组设备相关的API,通过这组API,移动应用能够以JavaScript访问原生的设备功能,如摄像头、麦克风等。
- MidpointRounding 枚举值简要说明
- BZOJ3223/洛谷P3391 - 文艺平衡树
- 产品设计-后台管理权限设计RBAC
- UltraISO制作CentOS 7.6 U盘引导安装盘
- mysql数据库允许远程连接
- sql常用语句备忘录随时更新
- Mac中Java 配置maven及阿里云镜像
- Github 上传代码的两种方式
- Please ensure JDK installation is valid and compatible with the current OS
- stopPropagation(), preventDefault() , return false 事件
- wscript运行js文件
热门文章
- Beta/Gamma事后分析
- prometheus自定义监控指标——实战
- OpenCV4.1.2 QRCode解码体验测评(附源码+支持中文)
- kali无法安装nvidia显卡驱动
- | C语言I作业04
- [转帖]聊聊Web App、Hybrid App与Native App的设计差异
- Replication:事务复制 Transaction and Command
- MyBatis系列(二) MyBatis接口绑定与多参数传递
- Java并发编程: CountDownLatch、CyclicBarrier和 Semaphore
- tiny-spring 分析