START SLAVE
(slave)
STOP SLAVE
(slave)
SET SQL_LOG_BIN=0|1
(master)
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=n
(slave)
RESET MASTER
(master)
RESET SLAVE
(slave)
LOAD TABLE tblname FROM MASTER
(slave)
LOAD DATA FROM MASTER
(slave)
CHANGE MASTER TO master_def_list
(slave)
MASTER_POS_WAIT()
(slave)
SHOW MASTER STATUS
(master)
SHOW SLAVE HOSTS
(master)
SHOW SLAVE STATUS
(slave)
SHOW MASTER LOGS
(master)
SHOW BINLOG EVENTS
(master)
PURGE MASTER LOGS
(master)
LOAD TABLE tblname FROM MASTER
(slave)
Downloads a copy of the table from master to the slave. Implemented
mainly for debugging of LOAD DATA FROM MASTER
.
Requires that the replication user which is used to connect to the master has
RELOAD
and SUPER
privileges on the master, and
SELECT
on the master table to load.
On the slave's side, the user which issues LOAD TABLE FROM MASTER
should
have grants to drop and create the table.
Please read the timeout notes in the description of LOAD DATA
FROM MASTER
below, they apply here too.