java連接mysql失敗:Path does not chain with any of the trust anchors


測試運行時報錯:Path does not chain with any of the trust anchors

 

 

 在配置文件:mybatis-config.xml 中把 jdbc 連接配置 useSSL=true 改為 false 即可正常運行

參考文檔:https://blog.csdn.net/u013727805/article/details/80555726

當前 MySQL 版本  5.1.47 

SSL連接參考文檔:https://www.cnblogs.com/plluoye/p/11182945.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM