Jakub Pavlik | 65f6907 | 2016-01-26 10:11:04 +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: |
Petr Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame] | 10 | user: root |
Jakub Pavlik | 65f6907 | 2016-01-26 10:11:04 +0100 | [diff] [blame] | 11 | 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 Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame] | 19 | clustercheck: |
| 20 | enabled: True |
| 21 | user: clustercheck |
| 22 | password: password |
| 23 | available_when_donor: 1 |
| 24 | available_when_readonly: 1 |
| 25 | port: 9200 |
Jakub Pavlik | 65f6907 | 2016-01-26 10:11:04 +0100 | [diff] [blame] | 26 | mysql: |
| 27 | server: |
Petr Michalec | c721ed0 | 2017-08-04 12:08:08 +0200 | [diff] [blame^] | 28 | database: |
| 29 | mydb: |
| 30 | encoding: 'utf8' |
Jakub Pavlik | 65f6907 | 2016-01-26 10:11:04 +0100 | [diff] [blame] | 31 | users: |
| 32 | - name: haproxy |
| 33 | host: localhost |
| 34 | - name: haproxy |
| 35 | host: '%' |
| 36 | - name: haproxy |
Martin Polreich | 8933a6c | 2017-04-11 14:55:08 +0200 | [diff] [blame] | 37 | host: 127.0.0.1 |
Petr Michalec | bca6ffa | 2017-05-22 13:10:20 +0200 | [diff] [blame] | 38 | - name: clustercheck |
| 39 | #host: localhost |
Petr Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame] | 40 | password: password |
Petr Michalec | bca6ffa | 2017-05-22 13:10:20 +0200 | [diff] [blame] | 41 | database: '*.*' |
| 42 | grants: PROCESS |
Petr Michalec | bca6ffa | 2017-05-22 13:10:20 +0200 | [diff] [blame] | 43 | - name: inspector |
| 44 | host: 127.0.0.1 |
| 45 | password: password |
| 46 | databases: |
Petr Michalec | 89c8c3f | 2017-05-22 17:19:22 +0200 | [diff] [blame] | 47 | - database: mydb |
| 48 | table: mytable |
| 49 | grant_option: True |
| 50 | grants: |
| 51 | - all privileges |