|
|
@@ -32,19 +32,19 @@ spring:
|
|
32
|
32
|
depot-master-01:
|
|
33
|
33
|
type: com.zaxxer.hikari.HikariDataSource
|
|
34
|
34
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
35
|
|
- jdbc-url: jdbc:mysql://172.16.0.8:3306/depot?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
|
|
|
35
|
+ jdbc-url: jdbc:mysql://172.16.0.8:3306/depot?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
|
|
36
|
36
|
username: root
|
|
37
|
37
|
password: 123456
|
|
38
|
38
|
depot-slave-01:
|
|
39
|
39
|
type: com.zaxxer.hikari.HikariDataSource
|
|
40
|
40
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
41
|
|
- jdbc-url: jdbc:mysql://172.16.0.9:3306/depot?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
|
|
|
41
|
+ jdbc-url: jdbc:mysql://172.16.0.9:3306/depot?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
|
|
42
|
42
|
username: root
|
|
43
|
43
|
password: 123456
|
|
44
|
44
|
depot-slave-02:
|
|
45
|
45
|
type: com.zaxxer.hikari.HikariDataSource
|
|
46
|
46
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
47
|
|
- jdbc-url: jdbc:mysql://172.16.0.10:3306/depot?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
|
|
|
47
|
+ jdbc-url: jdbc:mysql://172.16.0.10:3306/depot?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
|
|
48
|
48
|
username: root
|
|
49
|
49
|
password: 123456
|
|
50
|
50
|
rules:
|