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