mysql做主从复制,克隆一台mysql,做完主从复制后,发现I/O线程是NO,看日志提示“The slave I/O thread stops because master and slave have equal MySQL server UUIDs; these UUIDs must be different for replication to work. Error_code: 1593”,这是由于克隆机子,把data/auto.cnf 文件也克隆了,把从库的auto.cnf删除,从启mysql,在开启主从配置即可。