搭建Mysql双主双从报错The slave I/O thread stops because master and slave have equal MySQL server UUIDs
具体问题
- 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.
问题原因
- 两台主机从为克隆出来,具有相同的uuid
- 查看如下:
mysql> show variables like 'datadir';
+---------------+-----------------+
| Variable_name