• ADADADADAD

    mysql 5.1 master-master replication cluster 1062 不同步错误[ mysql数据库 ]

    mysql数据库 时间:2024-12-24 19:12:06

    作者:文/会员上传

    简介:

    mysql 5.1 master-master replication cluster 1062 不同步错误
    在从库上报 1062错误, master - slave replication 停止。
    开始 使用 SET GLOBAL SQL_SLAVE_SKIP_COUNTER =

    以下为本文的正文内容,内容仅供参考!本站为公益性网站,复制本文以及下载DOC文档全部免费。

    mysql 5.1 master-master replication cluster 1062 不同步错误
    在从库上报 1062错误, master - slave replication 停止。
    开始 使用 SET GLOBAL SQL_SLAVE_SKIP_COUNTER = N 跳过若干 有重复的数据, 主键等。
    最后发现数据太多, 重新 将主库数据库 导入到从库 。


    检查:
    show slave status \G

    Seconds_Behind_Master: 0
    Slave_IO_Running: Yes
    Slave_SQL_Running: Yes

    这三个值。

    查询:
    Exec_Master_Log_Pos Slave_SQL_Running_State, Last_Errno, Last_Error, Last_IO_Errno, Last_IO_Error, Last_SQL_Errno, Last_SQL_Error 看着几个值。



    mysql 5.1 master-master replication cluster 1062 不同步错误.docx

    将本文的Word文档下载到电脑

    推荐度:

    下载
    热门标签: 1062replication错误