Mysql SSL警告

启动项目连接数据库时有警告

Sun Feb 04 08:10:09 CST 2018 WARN: Establishing SSL connection without server's identity 
verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL
 connection must be established by default if explicit option isn't set. For compliance with 
You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and
 provide truststore for server certificate verification.

解决方案:启用SSL mysql 高版本加useSSL=true/false 否者启动时有红色警告

jdbc.url=jdbc:mysql:///spring_data?useSSL=true
阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/moxiong3212/article/details/79250837
文章标签: Mysql 数据库
个人分类: Mysql
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

Mysql SSL警告

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭