Browse Source

数据库配置

platform-api
4670101279 3 years ago
parent
commit
9b63ba3841
  1. 6
      ruoyi-admin/src/main/resources/application-druid.yml

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

@ -6,9 +6,9 @@ spring:
druid: druid:
# 主库数据源 # 主库数据源
master: master:
url: jdbc:mysql://81.69.34.200:33061/zxzb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&allowPublicKeyRetrieval=true url: jdbc:mysql://121.40.203.197:3306/znsc?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&allowPublicKeyRetrieval=true
username: zxzb username: znsc
password: zxzB_2022 password: znSC_1q2w#E$R
# 从库数据源 # 从库数据源
slave: slave:
# 从数据源开关/默认关闭 # 从数据源开关/默认关闭

Loading…
Cancel
Save