原文: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