数据库与redis链接问题
This commit is contained in:
parent
f7c5f9a114
commit
e09779eb13
@ -6,7 +6,7 @@ spring:
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://192.168.1.23:22001/sac_dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://172.32.0.2:22001/sac_dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: abc&^321
|
||||
# 从库数据源
|
||||
|
@ -70,11 +70,11 @@ spring:
|
||||
# redis 配置
|
||||
redis:
|
||||
# 地址
|
||||
host: 192.168.1.23
|
||||
host: 172.32.0.3
|
||||
# 端口,默认为6379
|
||||
port: 22002
|
||||
port: 6379
|
||||
# 数据库索引
|
||||
database: 0
|
||||
database: 8
|
||||
# 密码
|
||||
password:
|
||||
# 连接超时时间
|
||||
|
Loading…
x
Reference in New Issue
Block a user