blob: 909dbe96d9af2c6269fd06b45236db1a48d3c029 [file] [log] [blame]
Petr Michalecbafff1b2018-03-23 12:40:13 +01001galera:
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 Riazanov7205cbf2018-12-18 14:38:29 +040012 sst:
13 user: sstuser
14 password: sstpassword
Petr Michalecbafff1b2018-03-23 12:40:13 +010015 members:
16 - host: 127.0.0.1
17 port: 4567
18 clustercheck:
19 enabled: False
20mysql:
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 Riazanov7205cbf2018-12-18 14:38:29 +040051 - name: sstuser
52 password: sstpassword
53 host: localhost
54 database: '*.*'
55 grants:
56 - PROCESS
57 - RELOAD
58 - LOCK TABLES
59 - REPLICATION CLIENT