修改URL即可,在后面补上useSSL=false
以spring为例子:
spring.datasource.url=jdbc:mysql://localhost:3306/keji?characterEncoding=utf-8&&&useSSL=false
本文介绍如何通过修改URL参数useSSL=false来禁用MySQL数据库连接中的SSL加密。以Spring框架为例,展示了具体的配置方法。
修改URL即可,在后面补上useSSL=false
以spring为例子:
spring.datasource.url=jdbc:mysql://localhost:3306/keji?characterEncoding=utf-8&&&useSSL=false
5516
577
206
735
532
730
173
2622
589
254
382

被折叠的 条评论
为什么被折叠?