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
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
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