Explorar el Código

修改连接的数据库和redis

littleblue55 hace 3 meses
padre
commit
9a4dae8087

+ 2 - 2
enteprise-admin/src/main/resources/application-druid.yml

@@ -6,9 +6,9 @@ spring:
         druid:
             # 主库数据源
             master:
-                url: jdbc:mysql://139.9.50.163:3306/enterprise?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                url: jdbc:mysql://127.0.0.1:3306/enterprise?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                 username: root
-                password: ydl@123456
+                password: mysql@123456
             # 从库数据源
             slave:
                 # 从数据源开关/默认关闭

+ 1 - 1
enteprise-admin/src/main/resources/application.yml

@@ -74,7 +74,7 @@ spring:
     # 数据库索引
     database: 0
     # 密码
-    password:
+    password: redis@123456
     # 连接超时时间
     timeout: 10s
     lettuce: