Commit 6c5219463966ee5dca9933610036496202407c34
1 parent
58cb0f6c
提交redis
Showing
1 changed file
with
9 additions
and
8 deletions
src/main/resources/application.properties
@@ -15,12 +15,14 @@ druid.driverClass=com.mysql.jdbc.Driver | @@ -15,12 +15,14 @@ druid.driverClass=com.mysql.jdbc.Driver | ||
15 | #druid.url=jdbc:mysql://192.168.1.167:3306/zt_asra?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | 15 | #druid.url=jdbc:mysql://192.168.1.167:3306/zt_asra?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true |
16 | #druid.username=root | 16 | #druid.username=root |
17 | #druid.password=root | 17 | #druid.password=root |
18 | -druid.url=jdbc:mysql://47.96.41.38:3306/zt_asra?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | 18 | +#druid.url=jdbc:mysql://47.96.41.38:3306/zt_asra?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true |
19 | +#druid.username=asra | ||
20 | +#druid.password=MySQL57@123 | ||
21 | + | ||
22 | +druid.url=jdbc:mysql://renniting-prod.mysql.zhangbei.rds.aliyuncs.com/zt_asra?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | ||
19 | druid.username=asra | 23 | druid.username=asra |
20 | druid.password=MySQL57@123 | 24 | druid.password=MySQL57@123 |
21 | 25 | ||
22 | - | ||
23 | - | ||
24 | druid.initialSize=1 | 26 | druid.initialSize=1 |
25 | druid.minIdle=1 | 27 | druid.minIdle=1 |
26 | druid.maxActive=20 | 28 | druid.maxActive=20 |
@@ -52,11 +54,10 @@ pagehelper.params=countSql | @@ -52,11 +54,10 @@ pagehelper.params=countSql | ||
52 | 54 | ||
53 | 55 | ||
54 | #47 redis | 56 | #47 redis |
55 | -spring.redis.host=47.96.41.38 | ||
56 | -spring.redis.port=7001 | ||
57 | -spring.redis.password=myredis | ||
58 | -spring.redis.database=0 | ||
59 | - | 57 | +spring.redis.host=renniting-prod.redis.zhangbei.rds.aliyuncs.com |
58 | +spring.redis.port=6379 | ||
59 | +spring.redis.password=Zteits_redis | ||
60 | +spring.redis.database=2 | ||
60 | 61 | ||
61 | 62 | ||
62 | #\u5404\u79CD\u5F00\u5173,\u65B9\u4FBF\u4E0D\u540C\u73AF\u5883\u7684\u914D\u7F6E | 63 | #\u5404\u79CD\u5F00\u5173,\u65B9\u4FBF\u4E0D\u540C\u73AF\u5883\u7684\u914D\u7F6E |