MySQL [ERROR] Slave I/O: Found a Gtid_log_event or Previous_gtids_log_event
发表于:2025-11-09 作者:千家信息网编辑
千家信息网最后更新 2025年11月09日,MySQL 5.6的复制中断,发生下面错误2018-10-18 12:20:02 15374 [ERROR] Slave I/O: Found a Gtid_log_event or Previous
千家信息网最后更新 2025年11月09日MySQL [ERROR] Slave I/O: Found a Gtid_log_event or Previous_gtids_log_event
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: 17842018-10-18 12:20:02 15374 [ERROR] Slave I/O: Relay log write failure: could not queue event from master, Error_code: 15952018-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 killed2018-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: 02018-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: 17842018-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 -Vmysqld 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))
版本
错误
主机
原因
方法
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
戴尔惠普服务器
数据库库存管理流程
华山天气预报软件开发
数据库服务器没有启动
郑州hp服务器
高校教辅平台数据库答案
api 桌面软件开发
软件开发模型归纳优缺点
select在数据库哪
网络安全 数据备份与恢复
哪些数据库用了B树
三级网络技术二十套题
唐河哪里有软件开发的
网络安全活动总结600字
厦航软件开发工程师待遇
葡萄病虫害发生与监测数据库
聚聘互联网科技有限公司的架构
关于网络安全教育自查自纠
乔安云监控有服务器吗
丹阳遗莱网络技术有限公司
深职院计算机网络技术分数线
软件开发螺旋模型的优缺点
安徽省网络安全小组
山东定制少儿编程平台软件开发
山西智能软件开发服务至上
河南省电力公司科技互联网部
添加本地数据库
投票软件开发
软件开发工作室容易赚钱吗
pb9怎么手动连接数据库