Sun Jun 26 11:17:37 CST 2022 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 existing applications not using SSL the verifyServerCertificate property is set to ‘false’.
需要在spring: datasource: url: jdbc:mysql://localhost:3306/t_user
后面加上?useSSL=true即可
springboot连接数据库报错
最新推荐文章于 2024-06-27 11:53:28 发布