|
@@ -58,9 +58,9 @@ spring:
|
|
|
autoconfigure:
|
|
|
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
|
|
datasource:
|
|
|
- url: jdbc:mysql://139.186.31.213:6033/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
|
|
|
- username: sync
|
|
|
- password: sync@2020
|
|
|
+ url: jdbc:mysql://172.30.0.4:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
|
|
|
+ username: hcst
|
|
|
+ password: test@20190531
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
druid:
|
|
|
stat-view-servlet:
|
|
@@ -97,9 +97,9 @@ spring:
|
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
|
datasource:
|
|
|
master:
|
|
|
- url: jdbc:mysql://139.186.31.213:6033/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
|
|
|
- username: sync
|
|
|
- password: sync@2020
|
|
|
+ url: jdbc:mysql://172.30.0.4:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
|
|
|
+ username: hcst
|
|
|
+ password: test@20190531
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
# 多数据源配置
|
|
|
#multi-datasource1:
|