Browse Source

林武泰/更换配置

LinWuTai 1 year ago
parent
commit
45446a6173
1 changed files with 7 additions and 3 deletions
  1. 7 3
      lab-admin/src/main/resources/application-druid.yml

+ 7 - 3
lab-admin/src/main/resources/application-druid.yml

@@ -6,9 +6,13 @@ spring:
         druid:
             # 主库数据源
             master:
-                url: jdbc:mysql://114.116.114.108:3306/ruoyi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                 username: root
-                password: ydl@123456
+                # 本地
+                url: jdbc:mysql://43.139.55.209:3306/lab_equipment_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                password: syLwt@123456
+                # 远程
+                # url: jdbc:mysql://114.116.114.108:3306/ruoyi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                # password: ydl@123456
             # 从库数据源
             slave:
                 # 从数据源开关/默认关闭
@@ -54,4 +58,4 @@ spring:
                     merge-sql: true
                 wall:
                     config:
-                        multi-statement-allow: true
+                        multi-statement-allow: true