作者 王兆博

换新的数据库

... ... @@ -10,7 +10,7 @@ spring:
# 主库数据源
master:
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://119.3.81.232:3306/bro_fruit_tree?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
url: jdbc:mysql://192.168.10.220:3306/bro_fruit_tree?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
username: bronet
password: BroNet2021
# 从库数据源
... ...
... ... @@ -7,7 +7,10 @@ redisson:
spring:
# 数据源配置
datasource:
url: jdbc:mysql://119.3.81.232:3306/bro_fruit_tree?useUnicode=true&&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
# url: jdbc:mysql://119.3.81.232:3306/bro_fruit_tree?useUnicode=true&&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
# username: bronet
# password: BroNet2021
url: jdbc:mysql://192.168.10.220:3306/bro_fruit_tree?useUnicode=true&&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
username: bronet
password: BroNet2021
driver-class-name: com.mysql.cj.jdbc.Driver
... ...