iis服务器助手广告广告
返回顶部
首页 > 资讯 > 数据库 >MySQL [ERROR] Slave I/O: Found a Gtid_log_event or Previous_gtids_log_event
  • 818
分享到

MySQL [ERROR] Slave I/O: Found a Gtid_log_event or Previous_gtids_log_event

2024-04-02 19:04:59 818人浏览 安东尼
摘要

Mysql 5.6的复制中断,发生下面错误 2018-10-18 12:20:02 15374 [ERROR] Slave I/O: Fou

Mysql 5.6的复制中断,发生下面错误


2018-10-18 12:20:02 15374 [ERROR] Slave I/O: Found a Gtid_log_event or Previous_gtids_log_event when @@GLOBAL.GTID_MODE = OFF. Error_code: 1784
2018-10-18 12:20:02 15374 [ERROR] Slave I/O: Relay log write failure: could not queue event from master, Error_code: 1595
2018-10-18 12:20:02 15374 [Note] Slave I/O thread exiting, read up to log 'mysql-bin.000012', position 123 
2018-10-18 13:57:41 15374 [Note] Error reading relay log event: slave sql thread was killed
2018-10-18 13:57:44 15374 [Warning] Storing MySQL user name or passWord infORMation in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
2018-10-18 13:57:44 15374 [Warning] Slave SQL: If a crash happens this configuration does not guarantee that the relay log info will be consistent, Error_code: 0
2018-10-18 13:57:44 15374 [Note] Slave SQL thread initialized, starting replication in log 'mysql-bin.000012' at position 123, relay log './mysqld3319-relay-bin.000004' position: 286 
2018-10-18 13:57:44 15374 [Note] Slave I/O thread: connected to master 'backuper@10.156.15.1:3306',replication started in log 'mysql-bin.000012' at position 123 
2018-10-18 13:57:45 15374 [ERROR] Slave I/O: Found a Gtid_log_event or Previous_gtids_log_event when @@GLOBAL.GTID_MODE = OFF. Error_code: 1784
2018-10-18 13:57:45 15374 [ERROR] Slave I/O: Relay log write failure: could not queue event from master, Error_code: 1595


报错原因:

从MySQL 5.7向较低版本的MySQL 5.6搭建复制时,会触发这个错误。


# mysqld -V
mysqld  Ver 5.6.20 for linux on x86_64 (MySQL CommUnity Server (GPL))


解决方法:

使用高版本的MySQL 5.6或5.7创建复制主机。


[root@db-backup-all ~]# /opt/mysql_56_40/bin/mysqld -V
/opt/mysql_56_40/bin/mysqld  Ver 5.6.40 for linux-glibc2.12 on x86_64 (MySQL Community Server (GPL))


您可能感兴趣的文档:

--结束END--

本文标题: MySQL [ERROR] Slave I/O: Found a Gtid_log_event or Previous_gtids_log_event

本文链接: https://www.lsjlt.com/news/47929.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作