Commit c008ee2a by jamseylin Committed by Gitee

update src/main/resources/application.yml.

重新配置了JDBC,添加了serverTimezone,解决spring boot启动后读取MySQL异常
parent 72715f86
...@@ -7,7 +7,7 @@ spring: ...@@ -7,7 +7,7 @@ spring:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
#MySQL配置 #MySQL配置
driverClassName: com.mysql.cj.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/renren_fast?useUnicode=true&characterEncoding=UTF-8&useSSL=false url: jdbc:mysql://localhost:3306/renren_fast?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
username: renren username: renren
password: 123456 password: 123456
#oracle配置 #oracle配置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment