forked from cloudfoundry/galera-init
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-config.yml
35 lines (35 loc) · 1.3 KB
/
example-config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
# Specifies the location of the log file mysql sends logs to
LogFileLocation: testPath
# Specifies the file where the startup manager will write its PID
PidFile: testPidFile
Db:
# Specifies the location of the script that starts and stops mysql using mysqld_safe and mysql.server
DaemonPath: testDaemonPath
# Specifies the location of the script that performs the MySQL upgrade
UpgradePath: testUpgradePath
# Specifies the user name for MySQL
User: testUser
# Specifies the password for connecting to MySQL
Password:
ReadOnlyUserEnabled: true
ReadOnlyUser: testROUser
ReadOnlyPassword: testROPassword
PreseededDatabases:
- DBName: testDbName1
User: testUser1
Password:
Upgrader:
# Specifies the location of the file containing the MySQL version as deployed
PackageVersionFile: testPackageVersionFile
# Specifies the location of the file MySQL upgrade writes.
LastUpgradedVersionFile: testLastUpgradedVersionFile
Manager:
# Specifies the location to store the statefile for MySQL boot
StateFileLocation: testStateFileLocation
# Specifies the job index of the MySQL node
MyIP: "1.1.1.1"
# Comma-delimited list of IPs in the galera cluster
ClusterIps: ["1.1.1.1", "1.1.1.2", "1.1.1.3"]
# How many times to attempt database seeding before it fails
MaxDatabaseSeedTries: 1