RESET SLAVE的语法如下: RESET SLAVE [ALL] [channel_option] channel_option: FOR CHANNEL channel 其中,channel_option主要是针对5.7.6引入的多源复制. RESET SLAVE 官方的解释如下 RESET SLAVE makes the slave forget its replication position in the master's binary log. This statement is…
解读show slave status 命令判断MySQL复制同步状态 1. show slave status命令可以显示主从同步的状态 MySQL> show slave status \G; *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: 127.0.0.1 Master_User: rep…