|
@@ -6,9 +6,9 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- url: jdbc:mysql://47.100.220.92:3306/warewms_xuankuang_cy?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
|
|
|
- username: warewms
|
|
|
- password: warewms123
|
|
|
+ url: jdbc:mysql://localhost:3306/warewms-xuankuang_cy?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
|
|
|
+ username: root
|
|
|
+ password: 123456
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
# 从库数据源
|
|
|
slave:
|
|
@@ -58,13 +58,13 @@ spring:
|
|
|
multi-statement-allow: true
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: 154.12.16.4
|
|
|
+ host: localhost
|
|
|
# 端口,默认为6379
|
|
|
port: 6379
|
|
|
# 数据库索引
|
|
|
database: 0
|
|
|
# 密码
|
|
|
- password: 123499
|
|
|
+ password: 123456
|
|
|
# 连接超时时间
|
|
|
timeout: 10s
|
|
|
lettuce:
|