配置文件修改

v1.4.1
hiparker 4 years ago
parent 591336c081
commit f0609ef436

@ -8,7 +8,7 @@ spring:
#redis 配置
redis:
database: 0
host: 172.27.105.47
host: 127.0.0.1
password: '123456'
port: 6379
@ -33,9 +33,9 @@ spring:
#primary: master
datasource:
master:
url: jdbc:mysql://172.27.105.47:3306/opsli-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://127.0.0.1:3306/opsli-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
username: opsli-boot
password: OPSLI!@#0p9o8i7u
password: 123456
driver-class-name: com.mysql.cj.jdbc.Driver
# 多数据源配置
#slave-datasource:

Loading…
Cancel
Save