summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorunknown <nick@nick.leippe.com>2002-05-30 17:38:19 -0700
committerunknown <nick@nick.leippe.com>2002-05-30 17:38:19 -0700
commit95f2b1e6a812f6b10029e21081557a8b9baca437 (patch)
treeb6e1757e93ee7a466ac467d62dcc3a0ac63f4c3b /support-files
parent0720fe5927cfe4715b2eb3922bddf5268425b9fb (diff)
downloadmariadb-git-95f2b1e6a812f6b10029e21081557a8b9baca437.tar.gz
Added more complete master and slave configuration section
support-files/my-huge.cnf.sh: added more complete sample master and slave configuration
Diffstat (limited to 'support-files')
-rw-r--r--support-files/my-huge.cnf.sh19
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/