zoukankan      html  css  js  c++  java
  • 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

    配置MySQL主从复制,遇到报错

     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

    是因为主从服务器里auto.cnf中的server-uuid是相同的(服务器是复制过去的)。

    把从服务器中的auto.cnf重命名或者删除,然后重新启动MySQL,会重新生成auto.cnf文件。

    然后重新grant赋权,change master就ok了。

  • 相关阅读:
    ubuntu下使用golang、qml与ubuntu sdk开发桌面应用 (简单示例)
    Go Revel 学习指南
    Go Revel
    Go Revel
    Go Revel
    Go Revel
    Go Revel
    Go Revel
    Go Revel
    Go Revel
  • 原文地址:https://www.cnblogs.com/xiaochongzi/p/8306413.html
Copyright © 2011-2022 走看看