slave status 中检查同步状态

slave status 中检查同步状态:

   1、sql线程和io线程显示yes

    Slave_IO_Running: Yes
    Slave_SQL_Running: Yes  

  2、Master_Log_File 和  Relay_Master_Log_File 相等

  3、 Read_Master_Log_Pos 和 Exec_Master_Log_Pos 相等

  4、Slave_SQL_Running_State: 的状态为:

    Slave_SQL_Running_State: Slave has read all relay log; waiting for the slave I/O thread to update it

            

 

posted @ 2021-02-24 16:11  da0h1  阅读(165)  评论(0编辑  收藏  举报