[packages/percona-server/v5.0.x: 130/202] - include auto-increment-increment/auto-increment-offset

glen glen at pld-linux.org
Wed Oct 21 16:19:57 CEST 2015


commit aa89d2fc4a90aca76173dd7c71dd789797f76ca6
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Oct 7 12:28:44 2009 +0000

    - include auto-increment-increment/auto-increment-offset
    
    Changed files:
        mysqld.conf -> 1.34.2.9

 mysqld.conf | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/mysqld.conf b/mysqld.conf
index 2b1ae5d..409fcff 100644
--- a/mysqld.conf
+++ b/mysqld.conf
@@ -77,6 +77,12 @@ skip-networking
 ; defaults to 1 if master-host is not set but will not function as a master if omitted
 ;server-id=2
 
+; To set up N master servers, set the variables like this:
+; Set auto_increment_increment to N on each master.
+; Set each of the N masters to have a different auto_increment_offset, using the values 1, 2, ..., N
+;auto-increment-offset=1
+;auto-increment-increment=2
+
 ; databases to be included in binlog
 ;binlog-do-db=db1
 ; or excluded
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/431f68fe79a66d5dfdd53f2655709e6c925fbc22



More information about the pld-cvs-commit mailing list