|
|
|
@ -44,31 +44,32 @@ spring:
|
|
|
|
|
datasource: |
|
|
|
|
master: |
|
|
|
|
name: ruoyi-vue-pro |
|
|
|
|
url: jdbc:mysql://192.168.10.250:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT |
|
|
|
|
driver-class-name: com.mysql.jdbc.Driver |
|
|
|
|
url: jdbc:p6spy:mysql://192.168.10.250:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT |
|
|
|
|
# driver-class-name: com.mysql.jdbc.Driver |
|
|
|
|
driver-class-name: com.p6spy.engine.spy.P6SpyDriver |
|
|
|
|
username: root |
|
|
|
|
password: root |
|
|
|
|
slave: # 模拟从库,可根据自己需要修改 |
|
|
|
|
name: ruoyi-vue-pro |
|
|
|
|
url: jdbc:mysql://192.168.10.250:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT |
|
|
|
|
driver-class-name: com.mysql.jdbc.Driver |
|
|
|
|
url: jdbc:p6spy:mysql://192.168.10.250:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT |
|
|
|
|
driver-class-name: com.p6spy.engine.spy.P6SpyDriver |
|
|
|
|
username: root |
|
|
|
|
password: root |
|
|
|
|
bxg: # 农场数据源 |
|
|
|
|
name: bxg |
|
|
|
|
url: jdbc:mysql://192.168.10.250:3306/${spring.datasource.dynamic.datasource.bxg.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT |
|
|
|
|
driver-class-name: com.mysql.jdbc.Driver |
|
|
|
|
url: jdbc:p6spy:mysql://192.168.10.250:3306/${spring.datasource.dynamic.datasource.bxg.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT |
|
|
|
|
driver-class-name: com.p6spy.engine.spy.P6SpyDriver |
|
|
|
|
username: root |
|
|
|
|
password: root |
|
|
|
|
erp: # 进销存 |
|
|
|
|
name: erp |
|
|
|
|
url: jdbc:mysql://192.168.10.250:3306/${spring.datasource.dynamic.datasource.erp.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT |
|
|
|
|
driver-class-name: com.mysql.jdbc.Driver |
|
|
|
|
url: jdbc:p6spy:mysql://192.168.10.250:3306/${spring.datasource.dynamic.datasource.erp.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT |
|
|
|
|
driver-class-name: com.p6spy.engine.spy.P6SpyDriver |
|
|
|
|
username: root |
|
|
|
|
password: root |
|
|
|
|
# farm: # 农场数据源 |
|
|
|
|
# name: zsw-farm |
|
|
|
|
# url: jdbc:mysql://192.168.10.129:3306/${spring.datasource.dynamic.datasource.farm.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT |
|
|
|
|
# url: jdbc:p6spy:mysql://192.168.10.129:3306/${spring.datasource.dynamic.datasource.farm.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT |
|
|
|
|
# driver-class-name: com.mysql.jdbc.Driver |
|
|
|
|
# username: root |
|
|
|
|
# password: root |
|
|
|
|