|
|
@ -134,9 +134,11 @@ 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://124.220.221.124:3306/recycle-admin-v2?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&autoReconnect=true&failOverReadOnly=false |
|
|
|
|
|
|
|
|
url: jdbc:mysql://101.132.238.202:3306/recycle-admin-v2?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&autoReconnect=true&failOverReadOnly=false |
|
|
|
|
|
# url: jdbc:mysql://124.220.221.124:3306/recycle-admin-v2?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&autoReconnect=true&failOverReadOnly=false |
|
|
username: root |
|
|
username: root |
|
|
password: P=BtQmz- |
|
|
|
|
|
|
|
|
# password: P=BtQmz- |
|
|
|
|
|
password: P7tf1eh- |
|
|
driver-class-name: com.mysql.cj.jdbc.Driver |
|
|
driver-class-name: com.mysql.cj.jdbc.Driver |
|
|
# 多数据源配置 |
|
|
# 多数据源配置 |
|
|
#multi-datasource1: |
|
|
#multi-datasource1: |
|
|
@ -147,7 +149,7 @@ spring: |
|
|
#redis 配置 |
|
|
#redis 配置 |
|
|
redis: |
|
|
redis: |
|
|
database: 0 |
|
|
database: 0 |
|
|
host: 124.220.221.124 |
|
|
|
|
|
|
|
|
host: 101.132.238.202 |
|
|
lettuce: |
|
|
lettuce: |
|
|
pool: |
|
|
pool: |
|
|
max-active: -1 #最大连接数据库连接数,设 -1 为没有限制 |
|
|
max-active: -1 #最大连接数据库连接数,设 -1 为没有限制 |
|
|
@ -155,7 +157,7 @@ spring: |
|
|
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。 |
|
|
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。 |
|
|
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制 |
|
|
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制 |
|
|
shutdown-timeout: 1000ms |
|
|
shutdown-timeout: 1000ms |
|
|
password: 'P=BtQmz-' |
|
|
|
|
|
|
|
|
password: 'P7tf1eh-' |
|
|
port: 6379 |
|
|
port: 6379 |
|
|
#mybatis plus 设置 |
|
|
#mybatis plus 设置 |
|
|
mybatis-plus: |
|
|
mybatis-plus: |
|
|
|