🐛 修复mysql时区不正确的问题

pull/78/head
ruibaby 2019-01-15 21:15:18 +08:00
parent addb608a3a
commit bdc8e2ef40
1 changed files with 8 additions and 8 deletions

View File

@ -14,16 +14,16 @@ spring:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
# H2database 配置 # H2database 配置
driver-class-name: org.h2.Driver # driver-class-name: org.h2.Driver
url: jdbc:h2:file:~/halo/halo # url: jdbc:h2:file:~/halo/halo
username: admin # username: admin
password: 123456 # password: 123456
#MySql配置 #MySql配置
# driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=UTC url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
# username: root username: root
# password: 123456 password: 123456
h2: h2:
console: console: