Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Replication of MySQL 5.6was interrupted with the following error

2018-10-18 12:20:02 15374 [ERROR] Slave I Gtid_log_event or Previous_gtids_log_event when 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 mysql-bin.000012' 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 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 thread: connected to master 'backuper@10.156.15.1:3306',replication started in log' mysql-bin.000012' at position 2018-10-18 13:57:45 15374 [ERROR] Slave I Gtid_log_event or Previous_gtids_log_event when 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 take O: Relay log write failure: could not queue event from master, Error_code: 1595

Reason for reporting an error:

This error is triggered when replication is made from MySQL 5.7 to an earlier version of MySQL 5.6.

# mysqld-Vmysqld Ver 5.6.20 for Linux on x861664 (MySQL Community Server (GPL))

Solution:

Use a later version of MySQL 5.6or 5.7to create a replication host.

[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 x86room64 (MySQL Community Server (GPL))

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report