Browse Source

修改db连接

shengyang000 3 years ago
parent
commit
8c75d4914e

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

@@ -36,7 +36,8 @@ spring:
36
     driver-class-name: com.mysql.jdbc.Driver
36
     driver-class-name: com.mysql.jdbc.Driver
37
     username: ENC(b15HSDfvyJp0jr+lHlKQng==)
37
     username: ENC(b15HSDfvyJp0jr+lHlKQng==)
38
     password: ENC(+FEzLSvFIV/MYL/wXCg93ijmLUseYzP3)
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
     hikari:
41
     hikari:
41
       minimum-idle: 5            #最小空闲连接数量
42
       minimum-idle: 5            #最小空闲连接数量
42
       idle-timeout: 300000       # 空闲连接存活最大时间,默认600000(10分钟)
43
       idle-timeout: 300000       # 空闲连接存活最大时间,默认600000(10分钟)

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

@@ -38,7 +38,8 @@ spring:
38
     username: root
38
     username: root
39
 #    password: ENC(+FEzLSvFIV/MYL/wXCg93ijmLUseYzP3)
39
 #    password: ENC(+FEzLSvFIV/MYL/wXCg93ijmLUseYzP3)
40
     password: 1qaz@WSX
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
     hikari:
43
     hikari:
43
       minimum-idle: 5            #最小空闲连接数量
44
       minimum-idle: 5            #最小空闲连接数量
44
       idle-timeout: 300000       # 空闲连接存活最大时间,默认600000(10分钟)
45
       idle-timeout: 300000       # 空闲连接存活最大时间,默认600000(10分钟)

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

@@ -42,7 +42,8 @@ spring:
42
     driver-class-name: com.mysql.jdbc.Driver
42
     driver-class-name: com.mysql.jdbc.Driver
43
     username: ENC(AC7MiPu2X266UaujLxVbnA==)
43
     username: ENC(AC7MiPu2X266UaujLxVbnA==)
44
     password: ENC(PXh/ZVSBt39v0lYWqfRTFYMKJ2trNwCP)
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
     hikari:
47
     hikari:
47
       minimum-idle: 5            #最小空闲连接数量
48
       minimum-idle: 5            #最小空闲连接数量
48
       idle-timeout: 300000       # 空闲连接存活最大时间,默认600000(10分钟)
49
       idle-timeout: 300000       # 空闲连接存活最大时间,默认600000(10分钟)

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

@@ -44,7 +44,8 @@ spring:
44
     username: root
44
     username: root
45
 #    password: ENC(PXh/ZVSBt39v0lYWqfRTFYMKJ2trNwCP)
45
 #    password: ENC(PXh/ZVSBt39v0lYWqfRTFYMKJ2trNwCP)
46
     password: 1qaz@WSX
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
     hikari:
49
     hikari:
49
       minimum-idle: 5            #最小空闲连接数量
50
       minimum-idle: 5            #最小空闲连接数量
50
       idle-timeout: 300000       # 空闲连接存活最大时间,默认600000(10分钟)
51
       idle-timeout: 300000       # 空闲连接存活最大时间,默认600000(10分钟)