|
|
|
@ -130,10 +130,15 @@ spring:
|
|
|
|
|
# 通过connectProperties属性来打开mergeSql功能;慢SQL记录
|
|
|
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
|
|
|
datasource:
|
|
|
|
|
# master:
|
|
|
|
|
# url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
|
# username: root
|
|
|
|
|
# password: 123456
|
|
|
|
|
# driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
master:
|
|
|
|
|
url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
|
url: jdbc:mysql://222.71.165.187:3309/website-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
|
username: root
|
|
|
|
|
password: 123456
|
|
|
|
|
password: qawsed,.123
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
# 多数据源配置
|
|
|
|
|
#multi-datasource1:
|
|
|
|
|