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

            

 

转载于:https://www.cnblogs.com/fanxuanhui-linux/p/6189410.html

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐