Establishing SSL connection without server's identity verification is not recommended. According to ...

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

Establishing SSL connection without server's identity verification is not recommended. According to ...

 

 

解决方法:

加入两个参数,如下

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

 

虽千万人,吾往矣!