Question

MYSQL REPLICATION between mysql droplets not work. Slave_IO_Running: No

I follow by this topic [https://www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-in-mysql]

REPLICATION is not work

(on slave server) mysql> SHOW SLAVE STATUS\G *************************** 1. row *************************** Slave_IO_State:
Slave_IO_Running: No Slave_SQL_Running: Yes Master_SSL_Verify_Server_Cert: No 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.** Last_SQL_Errno: 0 Last_SQL_Error:

Help me please


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey @TanawatTor

What you need to focus on here is; The slave I/O thread stops because master and slave have equal MySQL server UUIDs

To resolve this you should follow these steps;

Remove the file; sudo rm /var/lib/mysql/auto.cnf Restart mysqld; service mysql restart

This needs to be done on only one of your instances.

HTH,

Andrew