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]
[connection slave]
#
# Stop slave threads and clear slave datadir.
#
include/stop_slave.inc
RESET SLAVE;
#
# Copy the binlog with Anonymous_GTID log events and
# relay log index to slave datadir.
#
#
# Process the binlog with Anonymous_GTID log events.
#
START SLAVE;
#
# Wait for SQL thread error.
#
call mtr.add_suppression("Slave.* @@SESSION.GTID_NEXT cannot be set to ANONYMOUS when @@GLOBAL.GTID_MODE = ON.");
include/wait_for_slave_sql_error.inc [errno=1782]
include/stop_slave.inc
RESET MASTER;
RESET SLAVE;
include/start_slave.inc
[connection master]
include/rpl_end.inc
