beehexa integrationsidebar
beehexa beehexa logo 1

We Build HexaSync Integration Platform for Connecting ERP, POS, CRM, Accounting, and eCommerce Applications to Automate Business Processes

How to fix master and slave have equal MySQL server UUIDs MySQL Error

I tried to enable master slave replication this morning and I met this error

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.

Server UUIDs is automatically generated but it was copied when I cloned mysql instance using AWS AMI

ubuntu@ip-172-31-26-201:/var/lib/mysql$ cat /var/lib/mysql/auto.cnf [auto] server-uuid=fea4e713-9552-11e6-a093-06a1a5e379d3

It can be simply fixed by removing that auto generated auto.conf file and restart MySQL server.

Enjoy your MySQL Master-Slave replication!!!

Table of Contents

Ready to integrate and automate at scale ?

Learn how HexaSync lets you build enterprise-grade integrations and automations without having to code.

Receive Exclusive Productivity Tips Directly in Your Inbox

We’ll email you 1-3 times per week—and never share your information.

Get started for free

You can’t add more hours to the day. Beehexa is the next best thing.