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相关推荐

  1. 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 ...

  2. 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 ...

  3. Mysql主从同步报错解决:Fatal error: The slave I/O thread stops because master and slave have equal..

    报错信息:   在搭建Mysql主从架构过程中,由于从服务器是克隆的主服务器系统,导致主从Mysql uuid相同, Slave_IO无法启动,报错如下:   Last_IO_Error: Fatal ...

  4. 主从复制报错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配置文件中配置的,下面 ...

  5. 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 ...

  6. 搭建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 具体问题 ...

  7. 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: ...

  8. 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 ...

  9. 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 ...

最新文章

  1. 技术图文:双指针在求解算法题中的应用
  2. [BZOJ3693]圆桌会议[霍尔定理+线段树]
  3. ZAM 3D入门教程(3):Viewport
  4. apache启用gzip压缩方法
  5. 微信小程序official-account组件的使用及样式设置
  6. go语言垃圾回收机制详解
  7. SONiC项目的发展及其介绍
  8. redis的管理和监控工具treeNMS
  9. Otsu算法原理与python实现
  10. 品读 泰戈尔 飞鸟集 之六 伤往昔
  11. 【程序员的自我修养】[动态图文] 超详解函数栈帧
  12. 片上总线Wishbone 学习(四)接口信号定义
  13. miui11可用的位置模拟器_miui11支持机型汇总_miui11支持哪些机型_软吧下载
  14. html5出生年月日,出生年月日五行查询表
  15. 国外EDU教育邮箱功能简介
  16. Flink sql:Table sink doesn‘t support consuming update and delete changes which is produced by node
  17. 美术加:想要画好人物头像,头骨结构先吃透~
  18. Chia官方:有关Chia官方矿池的重要解读,费率更加透明,爆块更稳定
  19. ASSERT和VERIFY的区别
  20. 音频知识点(12)- P.563 工具编译及使用教程

热门文章

  1. 脑机接口:从基础科学到神经康复
  2. 探臻实录 | 戴琼海:搭建脑科学与人工智能的桥梁
  3. 【前沿科技】云计算军事运用有啥特点
  4. 深度报告解密华为汽车业务!布局三大领域,对标世界级Tier1
  5. 人工智能除了创造新材料还能预测化学反应性能
  6. Linux 受到开发者偏爱的 9 个理由!
  7. 编程大神竟“玩”出了不像 C 的 C 程序
  8. python成功之路,Day2-判断和循环语句
  9. SpringBoot(二)——JPA
  10. Zeppelin源码