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 expl

Spring boot 启动提示:

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 expl

 

 

解决方法:

加入两个参数,如下

spring.datasource.url=jdbc:mysql://localhost:3306/testDemo?autoReconnect=true&useSSL=false

 

posted @ 2017-07-15 16:46  whendream  阅读(512)  评论(0编辑  收藏  举报