wangzhe il y a 2 ans
Parent
commit
5ab2956be4
1 fichiers modifiés avec 20 ajouts et 8 suppressions
  1. 20 8
      leiSP-admin/src/main/resources/application-druid.yml

+ 20 - 8
leiSP-admin/src/main/resources/application-druid.yml

@@ -9,22 +9,34 @@ spring:
             # 主库数据源
             # 主库数据源
             master:
             master:
 #                url: jdbc:mysql://36.97.65.105:53306/thsjzt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
 #                url: jdbc:mysql://36.97.65.105:53306/thsjzt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-#                url: jdbc:mysql://192.168.2.200:3306/thsjzt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-#                url: jdbc:mysql://172.17.5.7:3306/thsjzt?useUnicode=true&c1 haracterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                # 互联网 Vpn
 #                url: jdbc:mysql://10.0.51.4:8888/thsjzt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
 #                url: jdbc:mysql://10.0.51.4:8888/thsjzt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-                url: jdbc:mysql://127.0.0.1:3306/thsjzt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                # 政务网 Vpn
+#                url: jdbc:mysql://172.17.5.7:3306/thsjzt?useUnicode=true&c1 haracterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                # 政务网 dzzw
+                url: jdbc:mysql://172.18.128.8:3306/thsjzt?useUnicode=true&c1 haracterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                username: thsjzt
+                password: thsjzt
 
 
+#                url: jdbc:mysql://192.168.2.200:3306/thsjzt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
 #                username: sooka
 #                username: sooka
-                username: root
 #                password: sooka123456
 #                password: sooka123456
-                password: 123456
+
+#                url: jdbc:mysql://127.0.0.1:3306/thsjzt_dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+#                username: root
+#                password:
             # 从库数据源,通化市公积金数据库
             # 从库数据源,通化市公积金数据库
             slave:
             slave:
                 # 从数据源开关/默认关闭
                 # 从数据源开关/默认关闭
                 enabled: true
                 enabled: true
-                url: jdbc:mysql://127.0.0.1:3306/thsjzt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-                username: root
-                password: 123456
+                url: jdbc:mysql://172.18.128.8:3306/thsjzt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                username: thsjzt
+                password: thsjzt
+
+#                url: jdbc:mysql://127.0.0.1:3306/thsjzt_dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+#                username: root
+#                password:
+#                password: 123456
             # 初始连接数
             # 初始连接数
             initialSize: 5
             initialSize: 5
             # 最小连接池数量
             # 最小连接池数量