include/master-slave.inc Warnings: Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. 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. [connection master] create table t1 (n int); insert into t1 values(1); include/sync_slave_sql_with_master.inc stop slave; include/wait_for_slave_to_stop.inc start slave; include/wait_for_slave_to_start.inc insert into t1 values(2); include/sync_slave_sql_with_master.inc select * from t1; n 1 2 drop table t1; include/sync_slave_sql_with_master.inc include/rpl_end.inc