正在显示
2 个修改的文件
包含
5 行增加
和
2 行删除
@@ -10,7 +10,7 @@ spring: | @@ -10,7 +10,7 @@ spring: | ||
10 | # 主库数据源 | 10 | # 主库数据源 |
11 | master: | 11 | master: |
12 | driverClassName: com.mysql.cj.jdbc.Driver | 12 | driverClassName: com.mysql.cj.jdbc.Driver |
13 | - url: jdbc:mysql://119.3.81.232:3306/bro_fruit_tree?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true | 13 | + url: jdbc:mysql://192.168.10.220:3306/bro_fruit_tree?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true |
14 | username: bronet | 14 | username: bronet |
15 | password: BroNet2021 | 15 | password: BroNet2021 |
16 | # 从库数据源 | 16 | # 从库数据源 |
@@ -7,7 +7,10 @@ redisson: | @@ -7,7 +7,10 @@ redisson: | ||
7 | spring: | 7 | spring: |
8 | # 数据源配置 | 8 | # 数据源配置 |
9 | datasource: | 9 | datasource: |
10 | - url: jdbc:mysql://119.3.81.232:3306/bro_fruit_tree?useUnicode=true&&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai | 10 | +# url: jdbc:mysql://119.3.81.232:3306/bro_fruit_tree?useUnicode=true&&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai |
11 | +# username: bronet | ||
12 | +# password: BroNet2021 | ||
13 | + url: jdbc:mysql://192.168.10.220:3306/bro_fruit_tree?useUnicode=true&&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai | ||
11 | username: bronet | 14 | username: bronet |
12 | password: BroNet2021 | 15 | password: BroNet2021 |
13 | driver-class-name: com.mysql.cj.jdbc.Driver | 16 | driver-class-name: com.mysql.cj.jdbc.Driver |
-
请 注册 或 登录 后发表评论