Browse Source

更新配置

master
牧羊人 4 years ago
parent
commit
288abecc1a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/main/resources/config/application-dev.yml
  2. +1
    -1
      src/main/resources/config/application-prod.yml

+ 1
- 1
src/main/resources/config/application-dev.yml View File

@@ -7,7 +7,7 @@ server:
context-path: /api
spring:
datasource:
url: jdbc:mysql://localhost:3306/taauav_lishui?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useSSL=true&tinyInt1isBit=false
url: jdbc:mysql://localhost:3306/taauav_lishui?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8&useSSL=true&tinyInt1isBit=false
username: root
password: idontcare
driver-class-name: com.mysql.cj.jdbc.Driver

+ 1
- 1
src/main/resources/config/application-prod.yml View File

@@ -7,7 +7,7 @@ server:
context-path: /
spring:
datasource:
url: jdbc:mysql://172.17.0.11:3306/taauav-com?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useSSL=true&tinyInt1isBit=false
url: jdbc:mysql://172.17.0.11:3306/taauav-com?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8&useSSL=true&tinyInt1isBit=false
username: root
password: taauav@2019
driver-class-name: com.mysql.cj.jdbc.Driver

Loading…
Cancel
Save