
添加 serverTimezone=Asia/Shanghai& 在数据库即可
原因是数据库和本地存在时间差
datasource:
name: heathmanual
url: jdbc:mysql://60.190.243.229:3306/heathmanual?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
username: root
password: duoermei201703
网友评论