From bf5b1ef6c9ccc925ba9d98c23036781ca05e848d Mon Sep 17 00:00:00 2001 From: ronger Date: Mon, 25 Jan 2021 22:04:58 +0800 Subject: [PATCH] Update application.yml --- src/main/resources/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index f1d34ff..b28d3ae 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -22,7 +22,7 @@ spring: max-idle: 500 min-idle: 0 datasource: - url: jdbc:mysql://localhost:3306/forest?characterEncoding=UTF-8&autoReconnect=true&useSSL=false + url: jdbc:mysql://localhost:3306/forest?characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true username: root password: # 数据库密码 driver-class-name: com.mysql.cj.jdbc.Driver