| 您的当前位置:首页 --> MYSQL教程 --> master and slave have equal MySQL server UUIDs 解决方法 |
| MYSQL教程 master and slave have equal MySQL server UUIDs 解决方法 |
| 浏览次数:1078 关键词 ( ) |
| 查看使用该CPU的产品 查看CPU天梯 |
| CPU型号:master and slave have equal MySQL server UUIDs 解决方法 |
| 主频:Ghz |
| 睿频:Ghz |
| 核心数:个 |
| 不支持超核心 |
| 制作工艺: |
| 插槽类型: |
| 功耗:0W |
| L3缓存:0MB |
| 支持最大内存: 0GB |
| CPU详细参数 |
|
使用rsync配置了大量mysql,省去了大量编译和配置的时间,随逐个修改master和slave服务器的my.cnf,后,发现数据不能同步, 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,每个库的uuid应该是不一样的。 [auto] 解决办法,按照这个16进制格式,随便改下,重启mysql即可。 |
| 下一个产品 SQL计算timestamp的差值的方法 上一个产品 master and slave have equal MySQL server ids |