소스 검색

修改db连接

shengyang000 3 년 전
부모
커밋
8c75d4914e
4개의 변경된 파일8개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 1
      csc-szls-business-dev.yml
  2. 2 1
      csc-szls-business-prod.yml
  3. 2 1
      csc-szls-message-dev.yml
  4. 2 1
      csc-szls-message-prod.yml

+ 2 - 1
csc-szls-business-dev.yml

@@ -36,7 +36,8 @@ spring:
36 36
     driver-class-name: com.mysql.jdbc.Driver
37 37
     username: ENC(b15HSDfvyJp0jr+lHlKQng==)
38 38
     password: ENC(+FEzLSvFIV/MYL/wXCg93ijmLUseYzP3)
39
-    url: jdbc:mysql://101.36.160.140:21029/csc-szls-test?characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
39
+#    url: jdbc:mysql://101.36.160.140:21029/csc-szls-test?characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
40
+    url: jdbc:mysql://101.36.160.140:21029/csc-szls-test?characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
40 41
     hikari:
41 42
       minimum-idle: 5            #最小空闲连接数量
42 43
       idle-timeout: 300000       # 空闲连接存活最大时间,默认600000(10分钟)

+ 2 - 1
csc-szls-business-prod.yml

@@ -38,7 +38,8 @@ spring:
38 38
     username: root
39 39
 #    password: ENC(+FEzLSvFIV/MYL/wXCg93ijmLUseYzP3)
40 40
     password: 1qaz@WSX
41
-    url: jdbc:mysql://101.36.160.140:21029/csc-szls?characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
41
+#    url: jdbc:mysql://101.36.160.140:21029/csc-szls?characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
42
+    url: jdbc:mysql://101.36.160.140:21029/csc-szls?characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
42 43
     hikari:
43 44
       minimum-idle: 5            #最小空闲连接数量
44 45
       idle-timeout: 300000       # 空闲连接存活最大时间,默认600000(10分钟)

+ 2 - 1
csc-szls-message-dev.yml

@@ -42,7 +42,8 @@ spring:
42 42
     driver-class-name: com.mysql.jdbc.Driver
43 43
     username: ENC(AC7MiPu2X266UaujLxVbnA==)
44 44
     password: ENC(PXh/ZVSBt39v0lYWqfRTFYMKJ2trNwCP)
45
-    url: jdbc:mysql://101.36.160.140:21029/csc-szls-test?characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
45
+#    url: jdbc:mysql://101.36.160.140:21029/csc-szls-test?characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
46
+    url: jdbc:mysql://101.36.160.140:21029/csc-szls-test?characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
46 47
     hikari:
47 48
       minimum-idle: 5            #最小空闲连接数量
48 49
       idle-timeout: 300000       # 空闲连接存活最大时间,默认600000(10分钟)

+ 2 - 1
csc-szls-message-prod.yml

@@ -44,7 +44,8 @@ spring:
44 44
     username: root
45 45
 #    password: ENC(PXh/ZVSBt39v0lYWqfRTFYMKJ2trNwCP)
46 46
     password: 1qaz@WSX
47
-    url: jdbc:mysql://101.36.160.140:21029/csc-szls?characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
47
+#    url: jdbc:mysql://101.36.160.140:21029/csc-szls?characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
48
+    url: jdbc:mysql://101.36.160.140:21029/csc-szls?characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
48 49
     hikari:
49 50
       minimum-idle: 5            #最小空闲连接数量
50 51
       idle-timeout: 300000       # 空闲连接存活最大时间,默认600000(10分钟)