检查url有没有写对,时区有没有加上
spring:
datasource:
username: root
password: root
url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone = UTC
driver-class-name: com.mysql.jdbc.Driver
检查url有没有写对,时区有没有加上
spring:
datasource:
username: root
password: root
url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone = UTC
driver-class-name: com.mysql.jdbc.Driver