1
include/master-slave.inc
3
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4
Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
8
CREATE TABLE t1 (a INT, b LONG) ENGINE=MyISAM;
9
INSERT INTO t1 VALUES (1,1), (2,2);
12
include/diff_tables.inc [master:t1, slave:t1]
13
==== Test using a table with delete triggers ====
16
CREATE TABLE t2 (a INT, b LONG) ENGINE=MyISAM;
17
CREATE TRIGGER trg1 BEFORE DELETE ON t1 FOR EACH ROW SET @count := @count + 1;
20
include/diff_tables.inc [master:t2, slave:t2]
24
CREATE TABLE t1 (a INT, b LONG) ENGINE=MyISAM;
25
INSERT INTO t1 VALUES (1,1), (2,2);
28
include/diff_tables.inc [master:t1, slave:t1]
29
==== Test using a table with delete triggers ====
32
CREATE TABLE t2 (a INT, b LONG) ENGINE=MyISAM;
33
CREATE TRIGGER trg1 BEFORE DELETE ON t1 FOR EACH ROW SET @count := @count + 1;
36
include/diff_tables.inc [master:t2, slave:t2]