数据库连接修改
parent
d5bc3d02ff
commit
c69fb17407
|
|
@ -6,9 +6,13 @@ spring:
|
|||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://localhost:3306/ry-server?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: dindcool
|
||||
url: jdbc:mysql://j.zxing.ltd:3306/ry-server?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: tsyy
|
||||
password: Dindcool123!
|
||||
|
||||
# url: jdbc:mysql://localhost:3306/ry-server?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
# username: tsyy
|
||||
# password: Dindcool123!
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
|
|
|
|||
Loading…
Reference in New Issue