spec/config/setup-cluster in lhm-1.0.0.rc3 vs spec/config/setup-cluster in lhm-1.0.0.rc4
- old
+ new
@@ -40,22 +40,26 @@
relay-log-index = slave-relay-bin.index
server-id = 2
# replication (optional filters)
-replicate-do-table = lhm.users
-replicate-do-table = lhm.lhmn_users
-replicate-wild-do = lhm.lhma_%_users
+# replicate-do-table = lhm.users
+# replicate-do-table = lhm.lhmn_users
+# replicate-wild-do-table = lhm.lhma_%_users
-replicate-do-table = lhm.origin
-replicate-do-table = lhm.lhmn_origin
-replicate-wild-do = lhm.lhma_%_origin
+# replicate-do-table = lhm.origin
+# replicate-do-table = lhm.lhmn_origin
+# replicate-wild-do-table = lhm.lhma_%_origin
-replicate-do-table = lhm.destination
-replicate-do-table = lhm.lhmn_destination
-replicate-wild-do = lhm.lhma_%_destination
+# replicate-do-table = lhm.destination
+# replicate-do-table = lhm.lhmn_destination
+# replicate-wild-do-table = lhm.lhma_%_destination
CNF
# build system tables
-mysql_install_db --datadir="$basedir/master/data"
-mysql_install_db --datadir="$basedir/slave/data"
+(
+ cd "$mysqldir"
+ ./scripts/mysql_install_db --datadir="$basedir/master/data"
+ ./scripts/mysql_install_db --datadir="$basedir/slave/data"
+
+)