After seeing the basics of deploying a MySQL server in Docker, in this article we will lay the foundations to customising a node and eventually using more than one server, so that we can cover replication in the next one.
Enabling GTID: the dangerous approach.To enable GTID, you need to set five variables in the database server:
For MySQL 5.6, you also need to set log-slave-updates, but we
won't deal with such ancient versions here.
Using the method …