blob: bd27fa29748a709e6f2b4125be449855868e02bd [file] [log] [blame]
Jakub Pavlik65f69072016-01-26 10:11:04 +01001 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:
Petr Michalec89c8c3f2017-05-22 17:19:22 +020010 user: root
Jakub Pavlik65f69072016-01-26 10:11:04 +010011 password: password
12 members:
13 - host: 127.0.0.1
14 port: 4567
15 - host: 127.0.0.1
16 port: 4567
17 - host: 127.0.0.1
18 port: 4567
Petr Michalec89c8c3f2017-05-22 17:19:22 +020019 clustercheck:
20 enabled: True
21 user: clustercheck
22 password: password
23 available_when_donor: 1
24 available_when_readonly: 1
25 port: 9200
Jakub Pavlik65f69072016-01-26 10:11:04 +010026 mysql:
27 server:
28 users:
29 - name: haproxy
30 host: localhost
31 - name: haproxy
32 host: '%'
33 - name: haproxy
Martin Polreich8933a6c2017-04-11 14:55:08 +020034 host: 127.0.0.1
Petr Michalecbca6ffa2017-05-22 13:10:20 +020035 - name: clustercheck
36 #host: localhost
Petr Michalec89c8c3f2017-05-22 17:19:22 +020037 password: password
Petr Michalecbca6ffa2017-05-22 13:10:20 +020038 database: '*.*'
39 grants: PROCESS
Petr Michalecbca6ffa2017-05-22 13:10:20 +020040 - name: inspector
41 host: 127.0.0.1
42 password: password
43 databases:
Petr Michalec89c8c3f2017-05-22 17:19:22 +020044 - database: mydb
45 table: mytable
46 grant_option: True
47 grants:
48 - all privileges