SOURCES: mysqld.conf - add replication related options

glen glen at pld-linux.org
Mon Nov 7 16:15:47 CET 2005


Author: glen                         Date: Mon Nov  7 15:15:47 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add replication related options

---- Files affected:
SOURCES:
   mysqld.conf (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SOURCES/mysqld.conf
diff -u SOURCES/mysqld.conf:1.17 SOURCES/mysqld.conf:1.18
--- SOURCES/mysqld.conf:1.17	Fri Oct 21 12:46:05 2005
+++ SOURCES/mysqld.conf	Mon Nov  7 16:15:41 2005
@@ -15,6 +15,9 @@
 ;collation-server=latin2_general_ci
 ;skip-character-set-client-handshake
 
+; set default charset
+;default-character-set = latin1
+
 ; Use passwords compatible with old 4.0 mysqld
 ;old-passwords
 
@@ -24,8 +27,34 @@
 ; Don't allow connections over the network by default
 skip-networking
 
+; no dns
+;skip-name-resolve
+
 ; Emergency option. Use only if you really need this.
 ;skip-grant-tables
+
+; replication options
+;server-id=2
+
+; slave setup
+;relay-log=slave-relay-bin
+;master-host=master
+;master-user=replica
+;master-port=3306
+;master-password=replica
+
+; master setup
+;log-bin
+
+; databases to be included in binlog
+;binlog-do-db=db1
+; or excluded
+;binlog-ignore-db=mysql
+;binlog-ignore-db=test
+
+; Don't flush key buffers between writes for any MyISAM
+; set this if you have dedicated slave server where writes aren't important
+;delay-key-write-for-all-tables
 
 ; Log connections and queries. It slows down MySQL so it's disabled by default
 ;log        = /var/log/mysql/log
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mysqld.conf?r1=1.17&r2=1.18&f=u




More information about the pld-cvs-commit mailing list