diff --git a/lidee-admin/src/main/resources/application-local.yaml b/lidee-admin/src/main/resources/application-local.yaml index 742ae6c..137647c 100644 --- a/lidee-admin/src/main/resources/application-local.yaml +++ b/lidee-admin/src/main/resources/application-local.yaml @@ -7,29 +7,56 @@ spring: dynamic: # 多数据源配置 primary: master datasource: +# master: +# # MYSQL数据库 主库,业务库 +# url: jdbc:mysql://127.0.0.1:3306/gr_report?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 +# username: root +# password: root +# lideeyunji: # 从库,框架库 +# url: jdbc:mysql://127.0.0.1:3306/gr_report?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 +# username: root +# password: root +# slave: # 日志库单独 +# lazy: true # 开启懒加载,保证启动速度 +# url: jdbc:mysql://127.0.0.1:3306/gr_report?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 +# username: root +# password: root +# oracle_gryybi: # 报表平台 oracle +# driver-class-name: oracle.jdbc.driver.OracleDriver +# url: jdbc:oracle:thin:@//192.168.1.247:1521/gryy?oracle.jdbc.defaultNChar=true&oracle.jdbc.convertNcharLiterals=true +# username: GRYYBI +# password: xxb147258367 +# erp_bi_data: # 报表平台 mysql +# url: jdbc:mysql://127.0.0.1:3306/erp_bi_data?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 +# username: root +# password: root master: - # MYSQL数据库 主库,业务库 - url: jdbc:mysql://127.0.0.1:3306/gr_report?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 - username: root - password: root + # 达梦数据库 主库,业务库 + driver-class-name: dm.jdbc.driver.DmDriver + url: jdbc:dm://127.0.0.1:5236?schema=ERPCS&compatible_mode=mysql + username: sysdba + password: Gao1048783178 lideeyunji: # 从库,框架库 - url: jdbc:mysql://127.0.0.1:3306/gr_report?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 - username: root - password: root + driver-class-name: dm.jdbc.driver.DmDriver + url: jdbc:dm://127.0.0.1:5236?schema=ERPCS&compatible_mode=mysql + username: sysdba + password: Gao1048783178 slave: # 日志库单独 lazy: true # 开启懒加载,保证启动速度 - url: jdbc:mysql://127.0.0.1:3306/gr_report?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 - username: root - password: root - oracle_gryybi: # 报表平台 oracle - driver-class-name: oracle.jdbc.driver.OracleDriver - url: jdbc:oracle:thin:@//192.168.1.247:1521/gryy?oracle.jdbc.defaultNChar=true&oracle.jdbc.convertNcharLiterals=true - username: GRYYBI - password: xxb147258367 - erp_bi_data: # 报表平台 mysql - url: jdbc:mysql://127.0.0.1:3306/erp_bi_data?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 - username: root - password: root + driver-class-name: dm.jdbc.driver.DmDriver + url: jdbc:dm://127.0.0.1:5236?schema=ERPCS&compatible_mode=mysql + username: sysdba + password: Gao1048783178 + erp: # erp + driver-class-name: dm.jdbc.driver.DmDriver + url: jdbc:dm://127.0.0.1:5236?schema=ERP&compatible_mode=mysql + username: sysdba + password: Gao1048783178 + sjzt: # 数据中台 + driver-class-name: dm.jdbc.driver.DmDriver + url: jdbc:dm://127.0.0.1:5236?schema=DATAMIDDLEPLATFORM&compatible_mode=mysql + username: sysdba + password: Gao1048783178 redis: host: 127.0.0.1 # 地址