If you clone your server, and need to prepare for master slave mysql 8 replication, found error like:
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.
Just change file at /var/lib/mysql/auto.cnf
[email protected]:/var/lib/mysql$ cat /var/lib/mysql/auto.cnf [auto] server-uuid=fea4e713-9552-11e6-a093-06a1a5e379d3
You can delete it and restart mysql service, it will generate new random UUID for your server instance