源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  MySQL master and slave have equal MySQL server UUIDs

MySQL master and slave have equal MySQL server UUIDs

分类: 文章 • 2022-09-04 10:11:26

今天从一个slave备份出来数据,想再创建一个slave,启动后报错:

  1. Last_IO_Error: Fatal error: The slave I/O thread stops because master and slave have equal MySQL server UUIDs; these UUIDs must be different for replication to work.

错误原因是直接备份的slave文件,导致uuid相同了,uuid是MySQL5.6引入的机制,必须在主从之间不一致

解决办法就是,删除data下的auto.cnf文件,重启数据库。

相关推荐

  • 解决mysql主从 The slave IO thread stops because the master has @@GLOBAL.GTID_MODE OFF and this server
  • MHA集群报错:The slave I/O thread stops because master and slave have equal MySQL server UUIDs
  • The slave I/O thread stops(equal MySQL server ids)
  • The slave I/O thread stops because master and slave have equal MySQL server UUIDs
  • MySQL master and slave have equal MySQL server UUIDs
  • Last_IO_Error: Fatal error:slave have equal MySQL Server UUIDs原因及解决
  • MySQL报错Slave: received end packet from server, apparent master shutdown
  • mysql故障master and slave have equal MySQL server UU
  • mysql_master、relay_server、Slave_server的配置方法
  • MySQL master and slave have equal MySQL server UUIDs
  • 数据库排序规则的问题
  • docker nginx部署入口点
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。    邮箱:zengyin969@gmail.com

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号