MySQL 主主报错: Fatal error: The slave I/O thread stops because master and slave have
Mysql 主主启动错误处理
error 信息:
Slave_IO_State:
Master_Host: 192.168.6.87
Master_User: replication
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000003
Read_Master_Log_Pos: 106
Relay_Log_File: mysqld-relay-bin.000002
Relay_Log_Pos: 4
Relay_Master_Log_File: mysql-bin.000003
Slave_IO_Running: No
Slave_SQL_Running: Yes
Replicate_Do_DB: mysql,cinder,nova,glance,keystone
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 106
Relay_Log_Space: 106
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: NULL
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 1593
Last_IO_Error: Fatal error: The slave I/O thread stops because master and slave have equal MySQL server ids; these ids must be different for replication to work (or the --replicate-same-server-id option must be used on slave but this does not always make sense; please check the manual before using it).
Last_SQL_Errno: 0
Last_SQL_Error:
1 row in set (0.00 sec)
ERROR:
No query specified
解决办法:
server-id = 1 #必须与其他主从服务器保持不一致
log-bin=/var/lib/mysql/logbin/mysql-bin
binlog-ignore-db = test
binlog-ignore-db = information_schema
查询结果:
mysql> show slave status\G;
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: 192.168.6.87
Master_User: replication
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000004
Read_Master_Log_Pos: 106
Relay_Log_File: mysqld-relay-bin.000005
Relay_Log_Pos: 251
Relay_Master_Log_File: mysql-bin.000004
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB: mysql,cinder,nova,glance,keystone
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 106
Relay_Log_Space: 450
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Last_IO_Error:
Last_SQL_Errno: 0
Last_SQL_Error:
1 row in set (0.00 sec)
ERROR:
No query specified
本文转自 swq499809608 51CTO博客,原文链接:http://blog.51cto.com/swq499809608/1544574
MySQL 主主报错: Fatal error: The slave I/O thread stops because master and slave have相关推荐
- mysql 主主忽略错误_MySQL 主主报错: Fatal error: The slave I/O thread stops because master and slave have...
Mysql 主主启动错误处理 error 信息: Slave_IO_State: Master_Host: 192.168.6.87 Master_User: replication Master_P ...
- mysql主主报错_MySQL 主主报错: Fatal error: The slave I/O thread stops because master and slave have...
Mysql 主主启动错误处理 error 信息: Slave_IO_State: Master_Host: 192.168.6.87 Master_User: replication Master_P ...
- Mysql主从同步报错解决:Fatal error: The slave I/O thread stops because master and slave have equal..
报错信息: 在搭建Mysql主从架构过程中,由于从服务器是克隆的主服务器系统,导致主从Mysql uuid相同, Slave_IO无法启动,报错如下: Last_IO_Error: Fatal ...
- 主从复制报错Fatal error:The slave I/O thread stops because master and slave have equal MySQL server UUIDs;
异常 在MySQL中开启主从复制失败: 原因 先确定主机和从机的server-id是否不一样,如果一样也会导致主从复制失败.主机和从机的server-id在/etc/my.cnf配置文件中配置的,下面 ...
- mysql主从同步报错Fatal error: The slave I/O thread stops because master and slave have equal MySQL server
问题:在mysql主从同步的过程中检查主从同步状态时IO线程报错 Last_IO_Error: Fatal error: The slave I/O thread stops because mast ...
- 搭建Mysql双主双从报错The slave I/O thread stops because master and slave have equal MySQL server UUIDs(已解决)
搭建Mysql双主双从报错The slave I/O thread stops because master and slave have equal MySQL server UUIDs 具体问题 ...
- Fatal error: The slave I/O thread stops because master and slave have equal MySQL server UUIDs
show slave status\G 发现有下面报错,导致复制起不来 - Relay_Master_Log_File: Slave_IO_Running: No Slave_SQL_Running: ...
- Last_IO_Error: Fatal error: The slave I/O thread stops because master and slave have equal MySQL ser
配置mysql主从模式完毕后 show slave status\G; 查看slave配置中出错: Slave_IO_Running: No Last_IO_Error: Fatal error: T ...
- MySQL之——The slave I/O thread stops because master and slave have equal...
1)操作系统 cat /etc/issue CentOS release 6.6 (Final) Kernel \r on an \m cat /proc/version Linux version ...
最新文章
- 技术图文:双指针在求解算法题中的应用
- [BZOJ3693]圆桌会议[霍尔定理+线段树]
- ZAM 3D入门教程(3):Viewport
- apache启用gzip压缩方法
- 微信小程序official-account组件的使用及样式设置
- go语言垃圾回收机制详解
- SONiC项目的发展及其介绍
- redis的管理和监控工具treeNMS
- Otsu算法原理与python实现
- 品读 泰戈尔 飞鸟集 之六 伤往昔
- 【程序员的自我修养】[动态图文] 超详解函数栈帧
- 片上总线Wishbone 学习(四)接口信号定义
- miui11可用的位置模拟器_miui11支持机型汇总_miui11支持哪些机型_软吧下载
- html5出生年月日,出生年月日五行查询表
- 国外EDU教育邮箱功能简介
- Flink sql:Table sink doesn‘t support consuming update and delete changes which is produced by node
- 美术加:想要画好人物头像,头骨结构先吃透~
- Chia官方:有关Chia官方矿池的重要解读,费率更加透明,爆块更稳定
- ASSERT和VERIFY的区别
- 音频知识点(12)- P.563 工具编译及使用教程