Home Database Mysql Tutorial MySQL报错:master and slave have equal MySQL server UUIDs

MySQL报错:master and slave have equal MySQL server UUIDs

Jun 07, 2016 pm 04:08 PM
mysql error

MySQL报错:master and slave have equal MySQL server UUIDs

Linux公社

首页 → 数据库技术

背景:

阅读新闻

MySQL报错:master and slave have equal MySQL server UUIDs

[日期:2015-02-28] 来源:Linux社区  作者:doiido [字体:]

MySQL报错信息如下:

Last_IO_Errno: 1593

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.

查询相关资料发现,这个主要是因为两台服务器是经过复制而在一起的,所以data下面的文件auto.cnf中的UUID也一样,因此要解决这个问题只要修改auto.cnf中的UUID即可

#  vi /main/mysql/data/auto.cnf
[auto]
server-uuid=f4863bcf-1d28-11e4-8657-000c29eec7bf
#随便改动一两个值即可以,或者按照上面的格式重新写一个

--------------------------------------分割线 --------------------------------------

Ubuntu 14.04下安装MySQL

《MySQL权威指南(原书第2版)》清晰中文扫描版 PDF

Ubuntu 14.04 LTS 安装 LNMP Nginx\PHP5 (PHP-FPM)\MySQL

Ubuntu 14.04下搭建MySQL主从服务器

Ubuntu 12.04 LTS 构建高可用分布式 MySQL 集群

Ubuntu 12.04下源代码安装MySQL5.6以及Python-MySQLdb

MySQL-5.5.38通用二进制安装

--------------------------------------分割线 --------------------------------------

本文永久更新链接地址:

  • 0
  • Linux下 MySQL 互为主从配置

    MySQL 建立用户数据库方法

    相关资讯       MySQL报错 

  • MySQL启动报错解决一例  (05/25/2014 07:32:10)
  • 首次使用MySQL报错error1045  (01/06/2014 14:30:27)
  • 图片资讯      

    本文评论   查看全部评论 (0)

    评论声明

    最新资讯

    本周热门

    Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
    本站(LinuxIDC)所刊载文章不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。


    Copyright © 2006-2015 Linux公社 All rights reserved 沪ICP备15008072号-1号

    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

    Hot Article Tags

    Notepad++7.3.1

    Notepad++7.3.1

    Easy-to-use and free code editor

    SublimeText3 Chinese version

    SublimeText3 Chinese version

    Chinese version, very easy to use

    Zend Studio 13.0.1

    Zend Studio 13.0.1

    Powerful PHP integrated development environment

    Dreamweaver CS6

    Dreamweaver CS6

    Visual web development tools

    SublimeText3 Mac version

    SublimeText3 Mac version

    God-level code editing software (SublimeText3)

    Duplicate entry for key 'PRIMARY' - How to solve MySQL error: Duplicate record of primary key Duplicate entry for key 'PRIMARY' - How to solve MySQL error: Duplicate record of primary key Oct 05, 2023 pm 02:49 PM

    Duplicate entry for key 'PRIMARY' - How to solve MySQL error: Duplicate record of primary key

    Table 'table_name' already exists - How to solve MySQL error: table already exists Table 'table_name' already exists - How to solve MySQL error: table already exists Oct 05, 2023 am 09:25 AM

    Table 'table_name' already exists - How to solve MySQL error: table already exists

    Cannot add or update a child row: a foreign key constraint fails - How to solve MySQL error: child row has foreign key constraint Cannot add or update a child row: a foreign key constraint fails - How to solve MySQL error: child row has foreign key constraint Oct 05, 2023 am 08:22 AM

    Cannot add or update a child row: a foreign key constraint fails - How to solve MySQL error: child row has foreign key constraint

    Data too long for column 'column_name' - How to solve MySQL error: data exceeds field length Data too long for column 'column_name' - How to solve MySQL error: data exceeds field length Oct 05, 2023 am 08:29 AM

    Data too long for column 'column_name' - How to solve MySQL error: data exceeds field length

    Can't connect to local MySQL server through socket 'socket_name' (2) - How to solve the MySQL error: Can't connect to the local MySQL server through socket (2) Can't connect to local MySQL server through socket 'socket_name' (2) - How to solve the MySQL error: Can't connect to the local MySQL server through socket (2) Oct 05, 2023 am 09:18 AM

    Can't connect to local MySQL server through socket 'socket_name' (2) - How to solve the MySQL error: Can't connect to the local MySQL server through socket (2)

    Duplicate entry 'value' for key 'unique_key_constraint' - How to solve MySQL error: Duplicate records in unique key constraints Duplicate entry 'value' for key 'unique_key_constraint' - How to solve MySQL error: Duplicate records in unique key constraints Oct 05, 2023 am 09:57 AM

    Duplicate entry 'value' for key 'unique_key_constraint' - How to solve MySQL error: Duplicate records in unique key constraints

    Unknown column 'column_name' in 'table_name' - How to solve MySQL error: unknown column name in table Unknown column 'column_name' in 'table_name' - How to solve MySQL error: unknown column name in table Oct 05, 2023 pm 02:18 PM

    Unknown column 'column_name' in 'table_name' - How to solve MySQL error: unknown column name in table

    Unknown column type 'column_type' in column 'column_name' - How to solve MySQL error: Unknown column type in column Unknown column type 'column_type' in column 'column_name' - How to solve MySQL error: Unknown column type in column Oct 05, 2023 pm 02:28 PM

    Unknown column type 'column_type' in column 'column_name' - How to solve MySQL error: Unknown column type in column

    See all articles