生产环境可能存在的数据库连接错误

This commit is contained in:
xuwenbo
2020-11-19 14:04:13 +08:00
parent f96ddd92a0
commit a679bbe0f3

View File

@ -5,7 +5,8 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://localhost:3306/yshopb2c?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://localhost:3306/yshopb2c?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
username: root
password: xxcs@!2019
# 从库数据源