CX 1 month ago
parent
commit
bc287c0594
1 changed files with 15 additions and 8 deletions
  1. 15 8
      src/main/resources/application.properties

+ 15 - 8
src/main/resources/application.properties

@@ -6,11 +6,14 @@ mysql1.spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
6 6
 mysql1.spring.datasource.driver-class-name=com.mysql.jdbc.Driver
7 7
 # 南京
8 8
 #mysql1.spring.datasource.url=jdbc:mysql://192.144.201.19:3306/hsms2_0622?autoReconnect=true&useUnicode=true&characterEncoding=utf8
9
-mysql1.spring.datasource.url=jdbc:mysql://192.168.3.108:3306/hsms2_0622?autoReconnect=true&useUnicode=true&characterEncoding=utf8
9
+#mysql1.spring.datasource.url=jdbc:mysql://192.168.3.108:3306/hsms2_0622?autoReconnect=true&useUnicode=true&characterEncoding=utf8
10
+#白求恩
11
+mysql1.spring.datasource.url=jdbc:mysql://172.17.1.150:3306/hsms?autoReconnect=true&useUnicode=true&characterEncoding=utf8
10 12
 mysql1.spring.datasource.username=root
11
-#mysql1.spring.datasource.password=DStech@123
13
+#白求恩
14
+mysql1.spring.datasource.password=DStech@123
12 15
 # 南京
13
-mysql1.spring.datasource.password=100100
16
+#mysql1.spring.datasource.password=100100
14 17
 
15 18
 # 下面为连接池的补充设置,应用到上面所有数据源中
16 19
 # 初始化大小,最小,最大
@@ -35,11 +38,14 @@ mysql2.spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
35 38
 mysql2.spring.datasource.driver-class-name=com.mysql.jdbc.Driver
36 39
 # 南京
37 40
 #mysql2.spring.datasource.url=jdbc:mysql://192.144.201.19:3306/md2?autoReconnect=true&useUnicode=true&characterEncoding=utf8
38
-mysql2.spring.datasource.url=jdbc:mysql://192.168.3.111:3306/md2?autoReconnect=true&useUnicode=true&characterEncoding=utf8
41
+#mysql2.spring.datasource.url=jdbc:mysql://192.168.3.111:3306/md2?autoReconnect=true&useUnicode=true&characterEncoding=utf8
42
+#白求恩
43
+mysql2.spring.datasource.url=jdbc:mysql://172.17.1.150:3306/mdv2?autoReconnect=true&useUnicode=true&characterEncoding=utf8
39 44
 mysql2.spring.datasource.username=root
40
-#mysql2.spring.datasource.password=DStech@123
45
+#白求恩
46
+mysql2.spring.datasource.password=DStech@123
41 47
 # 南京
42
-mysql2.spring.datasource.password=100100
48
+#mysql2.spring.datasource.password=100100
43 49
 
44 50
 mysql2.spring.datasource.initialSize=3
45 51
 mysql2.spring.datasource.minIdle=1
@@ -66,9 +72,10 @@ db.hjzx.record.nginx=/hjzxRecord
66 72
 db.hjzx.record.path.regex=voice
67 73
 
68 74
 
69
-
75
+#白求恩
76
+spring.redis.host=172.17.1.149
70 77
 #spring.redis.host=192.168.245.108
71
-spring.redis.host=localhost
78
+#spring.redis.host=localhost
72 79
 spring.redis.port=6379
73 80
 spring.redis.password=Redis@#6379pwD
74 81
 spring.redis.pool.max-total=100