查看master复制状态:
show mster status\G;
查看slave复制状态:
show slave status\G;
开始复制:
start slave;
停止复制:
stop slave;
针对复制线程开启、关闭:
start slave io_thread;
start slave sql_thread;
stop slave io_thread;
stop slave sql_thread;