Thursday, December 1, 2011

Setting for MYSQL replication in my.cnf

 

In /etc/my.cnf

 

server-id=2

replicate-same-server-id = 0

auto-increment-increment = 2

auto-increment-offset = 2

replicate-do-db = databasename

0 comments:

Post a Comment