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主主报错_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 主主报错: 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双主双从报错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 具体问题 ...

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

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

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

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

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

  8. The slave I/O thread stops because master and slave have equal MySQL server UUIDs;

    最近在部署MySQL主从复制架构的时候,碰到了"Last_IO_Error: Fatal error: The slave I/O thread stops because master a ...

  9. The slave I/O thread stops because master and slave have equal MySQL server UUID

    The slave I/O thread stops because master and slave have equal MySQL server UUIDs The slave I/O thre ...

最新文章

  1. LeetCode简单题之两个相同字符之间的最长子字符串
  2. java与SPARK的使用的一个类似文章
  3. 稳定性三十六计-幂等设计
  4. NYOJ 311 完全背包
  5. 通过kubeless命令行部署Kyma Lambda Function
  6. SAP CRM呼叫中心里link按钮的技术实现
  7. 编程函数c语言,C语言编程(练习1:函数 )
  8. 第四点没有重定义吧,第一个i的作用域就是那个循环,它出了这个域就被释放了。...
  9. 68.营救问题(广搜)
  10. Android项目和Android教程总结(史诗级宝典)
  11. 虚拟机 Ubuntu安装gcc和g++
  12. 如何用几何画板破解版制作正方体展开动画
  13. mac软件全屏时候最顶上任务栏保留_一键整理 Mac 顶部菜单栏,这款免费工具 App 还你清爽...
  14. “魅力河南 智慧富民——互联网+旅游扶贫项目”签约仪式在郑州举行
  15. 数据安全和隐私保护(新生研讨课小论文)
  16. CStdioFile之ReadString()与WriteString()注意事项
  17. 学习Python要学习哪些课程?
  18. 陆奇:开源开发是更优越的开发方式
  19. 技术人员如何建立个人品牌
  20. echarts+高德地图绘制散点+流线图

热门文章

  1. 微信小程序:map组件的简单使用,标注callout与label简单用法
  2. Codeforces Round #521 (Div. 3) B - Disturbed People (贪心)
  3. Farkas'Lemma 和 S-Lemma
  4. Python智能机械助理
  5. 王者荣耀8月15日服务器维护,王者荣耀:8月15日更新,10件装备调整,依旧互秒荣耀...
  6. 2019阿里秋招一道笔试题(关于火柴拼出最大数字) - Android开发岗
  7. 盛世昊通解析为什么你买不到想要的新能源汽车
  8. 且初土豆泥、everbab棉花糖粉扑、好望水气泡饮、王小卤虎皮凤爪、PWU留香珠…月销千万的黑马爆品如何玩转新消费营销?
  9. 解决微信内置浏览器tel:手机号不能打电话的问题
  10. pageadmin CMS网站制作教程:栏目单页内容如何修改