Browse Source

修改redis的dataindex和添加redis的password

cxd 9 months ago
parent
commit
71b689f74b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      server/src/main/resources/application-local.yml

+ 2 - 2
server/src/main/resources/application-local.yml

@@ -8,7 +8,7 @@ spring:
       ds0:
         type: com.alibaba.druid.pool.DruidDataSource
         driver-class-name: com.mysql.jdbc.Driver
-        url: jdbc:mysql://127.0.0.1:3306/erp-warehouse?useUnicode=true&characterEncoding=utf8&autoReconnect=true&rewriteBatchedStatements=true&useSSL=false
+        url: jdbc:mysql://120.46.190.49:3306/erp-standard?useUnicode=true&characterEncoding=utf8&autoReconnect=true&rewriteBatchedStatements=true&useSSL=false
         username: root
         #password: root
         password: Gd8XCWEef72GerxE
@@ -32,7 +32,7 @@ redis:
   maxIdle: 500
   maxTotal: 500
   maxWaitMillis: -1
-  database: 3
+  database: 4
 
 # 开发环境日志为debug
 logging: