mysql5.7
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/testspringboot?useSSL=false
mysql8.0
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/testspringboot?useSSL=false&serverTimezone=UTC
MySQL不同版本的url配置
最新推荐文章于 2024-06-01 10:35:00 发布