Petr Michalec | bafff1b | 2018-03-23 12:40:13 +0100 | [diff] [blame] | 1 | galera: |
2 | master: | ||||
3 | enabled: true | ||||
4 | name: galeracluster | ||||
5 | bind: | ||||
6 | address: 127.0.0.1 | ||||
7 | port: 3306 | ||||
8 | maintenance_password: password | ||||
9 | admin: | ||||
10 | user: root | ||||
11 | password: password | ||||
Stanislav Riazanov | 7205cbf | 2018-12-18 14:38:29 +0400 | [diff] [blame] | 12 | sst: |
13 | user: sstuser | ||||
14 | password: sstpassword | ||||
Petr Michalec | bafff1b | 2018-03-23 12:40:13 +0100 | [diff] [blame] | 15 | members: |
16 | - host: 127.0.0.1 | ||||
17 | port: 4567 | ||||
18 | clustercheck: | ||||
19 | enabled: False | ||||
20 | mysql: | ||||
21 | server: | ||||
22 | enabled: true | ||||
23 | bind: | ||||
24 | address: 0.0.0.0 | ||||
25 | port: 3306 | ||||
26 | protocol: tcp | ||||
27 | database: | ||||
28 | mydb: | ||||
29 | encoding: 'utf8' | ||||
30 | users: | ||||
31 | - name: haproxy | ||||
32 | host: localhost | ||||
33 | - name: haproxy | ||||
34 | host: '%' | ||||
35 | - name: haproxy | ||||
36 | host: 127.0.0.1 | ||||
37 | - name: clustercheck | ||||
38 | #host: localhost | ||||
39 | password: password | ||||
40 | database: '*.*' | ||||
41 | grants: PROCESS | ||||
42 | - name: inspector | ||||
43 | host: 127.0.0.1 | ||||
44 | password: password | ||||
45 | databases: | ||||
46 | - database: mydb | ||||
47 | table: mytable | ||||
48 | grant_option: True | ||||
49 | grants: | ||||
50 | - all privileges | ||||
Stanislav Riazanov | 7205cbf | 2018-12-18 14:38:29 +0400 | [diff] [blame] | 51 | - name: sstuser |
52 | password: sstpassword | ||||
53 | host: localhost | ||||
54 | database: '*.*' | ||||
55 | grants: | ||||
56 | - PROCESS | ||||
57 | - RELOAD | ||||
58 | - LOCK TABLES | ||||
59 | - REPLICATION CLIENT |