原文:Java连接MySql数据库警告:Establishing SSL connection without server's identity verification is not recommended.

原因:MySQL在高版本需要指明是否进行SSL连接,解决方案: 在jdbc.properties MySQL连接信息jdbc.url中加入ssl true或false即可,如下所示: jdbc.url jdbc:mysql: localhost: eaju characterEncoding utf amp useSSL true 信息: Initializing Spring Framework ...

2017-02-06 11:47 2 3740 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM