|
@@ -131,9 +131,9 @@ spring:
|
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
|
datasource:
|
|
|
master:
|
|
|
- url: jdbc:mysql://127.0.0.1:3306/sen_yu_new?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
+ url: jdbc:mysql://106.15.206.14:3306/sen_yu_dz_dev?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
username: root
|
|
|
- password: root
|
|
|
+ password: CuiDian1234
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
# 多数据源配置
|
|
|
#multi-datasource1:
|
|
@@ -144,7 +144,7 @@ spring:
|
|
|
#redis 配置
|
|
|
redis:
|
|
|
database: 0
|
|
|
- host: 192.168.1.199
|
|
|
+ host: 127.0.0.1
|
|
|
lettuce:
|
|
|
pool:
|
|
|
max-active: 8 #最大连接数据库连接数,设 -1 为没有限制
|