1include/master-slave.inc
2Warnings:
3Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
4Note	####	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.
5[connection master]
6**** On Master ****
7CREATE TABLE t1 (a INT);
8INSERT INTO t1 VALUES (1),(2),(3);
9SELECT * FROM t1;
10a
111
122
133
14REPLACE INTO t1 VALUES (4);
15include/sync_slave_sql_with_master.inc
16SELECT * FROM t1;
17a
181
192
203
214
22include/check_slave_is_running.inc
23Should have two binary logs here
24show binary logs;
25Log_name	File_size
26master-bin.000001	#
27master-bin.000002	#
28DROP TABLE t1;
29include/sync_slave_sql_with_master.inc
30include/rpl_end.inc
31