MySQL [ERROR] Slave I/O: Found a Gtid_log_event or Previous_gtids_log_event
发表于:2026-11-03 作者:千家信息网编辑
千家信息网最后更新 2026年11月03日,MySQL 5.6的复制中断,发生下面错误2018-10-18 12:20:02 15374 [ERROR] Slave I/O: Found a Gtid_log_event or Previous
千家信息网最后更新 2026年11月03日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安全错误
数据库的锁怎样保障安全
精品咖啡豆
广州万易互联网科技有限公司
深圳互联网络科技有限公司
以房互联网科技
火传媒上海互联网科技
成都狮子座互联网科技
多迪互联网科技有限公司
丰台科技园 互联网公司
博兴的互联网电子科技公司
恒银科技与互联网金融
米聚互联网科技南京有限公司排面
迪庆互联网科技招生
用友工业互联网科技发展
中科明德北京互联网科技
互联网科技资金流入
富国互联网科技002692
上海同邻互联网科技有限公司规模
科技信息时代互联网发展
科技互联网经济论坛
互联网科技快速发展优美句子
美国互联网科技
互联网 科技创业
沃里互联网科技
青岛中康互联网医疗科技有限公司
互联网金融中的现代科技
宇信科技在杭州互联网排第几
互联网风格科技公司名称
同城互联网络科技
互联网科技博主张洲
伍佰万互联网科技是干嘛的