Forráskód Böngészése

多数据源配置

Wayne 4 hónapja
szülő
commit
714a9247f7
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      ruoyi-admin/src/main/resources/application-dev.yml

+ 3 - 3
ruoyi-admin/src/main/resources/application-dev.yml

@@ -55,9 +55,9 @@ spring:
           lazy: true
           type: ${spring.datasource.type}
           driverClassName: com.mysql.cj.jdbc.Driver
-          url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
-          username:
-          password:
+          url: jdbc:mysql://139.155.7.62:3306/subject_old?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
+          username: root
+          password: Chaoliu@0917!@#
 #        oracle:
 #          type: ${spring.datasource.type}
 #          driverClassName: oracle.jdbc.OracleDriver