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

posted @ 2020-08-18 17:26  事有回响  阅读(1979)  评论(0编辑  收藏  举报