|
@@ -135,19 +135,10 @@ spring:
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
datasource:
|
|
datasource:
|
|
master:
|
|
master:
|
|
- #---------------------线上库
|
|
|
|
- url: jdbc:mysql://139.186.27.96:4000/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true
|
|
|
|
|
|
+ url: jdbc:mysql://139.186.27.96:4000/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
|
|
username: data
|
|
username: data
|
|
password: hcst@2021
|
|
password: hcst@2021
|
|
- #---------------------测试库
|
|
|
|
-# url: jdbc:mysql://139.186.165.84:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true
|
|
|
|
-# username: hcst
|
|
|
|
-# password: hcst@2020
|
|
|
|
- #---------------------本地库
|
|
|
|
-# url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true
|
|
|
|
-# username: root
|
|
|
|
-# password: root
|
|
|
|
-# driver-class-name: com.mysql.jdbc.Driver
|
|
|
|
|
|
+ driver-class-name: com.mysql.jdbc.Driver
|
|
# 多数据源配置
|
|
# 多数据源配置
|
|
#multi-datasource1:
|
|
#multi-datasource1:
|
|
#url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
|
|
#url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
|