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 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

 

相关文章:

  • 2022-12-23
  • 2021-06-06
  • 2021-12-13
  • 2022-12-23
  • 2022-02-26
  • 2022-12-23
  • 2022-02-18
  • 2021-07-12
猜你喜欢
  • 2021-07-06
  • 2021-07-27
  • 2021-12-30
  • 2022-02-26
  • 2022-12-23
相关资源
相似解决方案