corrected timezone in mySQL JDBC configure

This commit is contained in:
strawmanbobi
2018-12-31 17:15:27 +08:00
parent de30694680
commit af746689aa

View File

@@ -4,6 +4,6 @@ spring.cache.type=redis
spring.redis.host=localhost
spring.redis.port=6379
spring.datasource.url=jdbc:mysql://localhost:3306/irext
spring.datasource.url=jdbc:mysql://localhost:3306/irext?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=root