Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
a54ba213
Unverified
Commit
a54ba213
authored
Jul 28, 2020
by
lagelanren
Committed by
GitHub
Jul 28, 2020
Browse files
serverTimezone=UTC 导致数据库取出来时间早8个小时 (#420)
parent
8353ed10
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-db/src/main/resources/application-db.yml
View file @
a54ba213
...
...
@@ -7,7 +7,7 @@ pagehelper:
spring
:
datasource
:
druid
:
url
:
jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=
UTC
&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false
url
:
jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=
Asia/Shanghai
&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
litemall
password
:
litemall123456
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment