Browse Source

多资源配置 中间库

develop
lau572 9 months ago
parent
commit
8e3b45052d
  1. 8
      ruoyi-admin/src/main/resources/application-druid.yml

8
ruoyi-admin/src/main/resources/application-druid.yml

@ -15,10 +15,10 @@ spring:
# 从库数据源
slave:
# 从数据源开关/默认关闭
enabled: false
url:
username:
password:
enabled: true
url: jdbc:mysql://10.168.56.204:3306/jihe-md?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: root
password: Platform123!@#
# 初始连接数
initialSize: 5
# 最小连接池数量

Loading…
Cancel
Save