diff options
author | nick@nick.leippe.com <> | 2002-05-30 17:38:19 -0700 |
---|---|---|
committer | nick@nick.leippe.com <> | 2002-05-30 17:38:19 -0700 |
commit | 9e9265fdc5e8e3fe7d89e5a65c6a7d141852219c (patch) | |
tree | b6e1757e93ee7a466ac467d62dcc3a0ac63f4c3b /support-files/my-huge.cnf.sh | |
parent | e62283b900ac54c3f9a159e1f7ec872cff6a00f3 (diff) | |
download | mariadb-git-9e9265fdc5e8e3fe7d89e5a65c6a7d141852219c.tar.gz |
Added more complete master and slave configuration section
Diffstat (limited to 'support-files/my-huge.cnf.sh')
-rw-r--r-- | support-files/my-huge.cnf.sh | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/support-files/my-huge.cnf.sh b/support-files/my-huge.cnf.sh index ce9b5b18586..88d83afb986 100644 --- a/support-files/my-huge.cnf.sh +++ b/support-files/my-huge.cnf.sh @@ -35,8 +35,23 @@ set-variable = thread_cache=8 # Try number of CPU's*2 for thread_concurrency set-variable = thread_concurrency=8 set-variable = myisam_sort_buffer_size=64M -log-bin -server-id = 1 + +# Replication Master Server (default) +log-bin # required for replication +server-id = 1 # required unique id between 1 and 2^32 - 1 + # defaults to 1 if master-host is not set + # but will not function as a master if omitted + +# Replication Slave Server (comment out master section to use this) +#master-host = # MUST BE SET +#master-user = # MUST BE SET +#master-password = # MUST BE SET +#master-port = # optional--defaults to 3306 +#log-bin # not required for slaves, but recommended +#server-id = 2 # required unique id between 2 and 2^32 - 1 + # (and different from the master) + # defaults to 2 if master-host is set + # but will not function as a slave if omitted # Point the following paths to different dedicated disks #tmpdir = /tmp/ |