useSSL=false 出错!
来源:6-2 使用mybatis逆向工具

奉化奔腾JAVA
2018-12-29
useSSL=false 出错!
可能是我的网站用了https协议,如何在 配制中,让它不要检测
useSSL协议呢? 我知道如果是直接连的话, 加 &useSSL=false,就可以了,
但是,在配制文件中,这个要怎么加?
3回答
-
把数据库放在本地进行序列化吧,对云服务器直接操作会有问题的噢
022018-12-29 -
奉化奔腾JAVA
提问者
2018-12-29
老湿,我把数据库改为localhost:3306后,问题依旧:
提示:
Sat Dec 29 14:22:35 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.
00 -
奉化奔腾JAVA
提问者
2018-12-29
好的,老湿,我在本地再装一个数据库,谢谢您!
00
Netty+Spring Boot仿微信-全栈开发高性能后台及客户端
1498 学习 · 684 问题
相似问题