diff --git a/docker-compose.yml b/docker-compose.yml index d872167b75..f0233db939 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,6 @@ services: [ "mysqld", "--datadir=/tmp/mysqldata", - "--event-scheduler=ON", # These 3 keys run MySQL with GTID consistency enforced to avoid issues with production deployments that use it. "--enforce-gtid-consistency=ON", "--log-bin=bin.log", @@ -38,7 +37,6 @@ services: "--slow_query_log=1", "--log_output=TABLE", "--log-queries-not-using-indexes", - "--event-scheduler=ON", "--innodb-file-per-table=OFF", # These 3 keys run MySQL with GTID consistency enforced to avoid issues with production deployments that use it. "--enforce-gtid-consistency=ON", diff --git a/tools/mysql-replica-testing/docker-compose.yml b/tools/mysql-replica-testing/docker-compose.yml index 62d2a43b81..be2693e3dd 100644 --- a/tools/mysql-replica-testing/docker-compose.yml +++ b/tools/mysql-replica-testing/docker-compose.yml @@ -6,16 +6,17 @@ services: platform: linux/x86_64 volumes: - mysql-persistent-volume-replica-main:/tmp - command: [ + command: + [ "mysqld", "--datadir=/tmp/mysqldata-replica-main", - "--event-scheduler=ON", # These 3 keys run MySQL with GTID consistency enforced to avoid issues with production deployments that use it. "--enforce-gtid-consistency=ON", "--log-bin=bin.log", - "--server-id=1", + "--server-id=1" ] - environment: &mysql-default-environment + environment: + &mysql-default-environment MYSQL_ROOT_PASSWORD: toor MYSQL_DATABASE: fleet MYSQL_USER: fleet @@ -29,18 +30,18 @@ services: volumes: - mysql-persistent-volume-replica-read:/tmp # innodb-file-per-table=OFF gives ~20% speedup for test runs. - command: [ + command: + [ "mysqld", "--datadir=/tmp/mysqldata-replica-read", "--slow_query_log=1", "--log_output=TABLE", "--log-queries-not-using-indexes", - "--event-scheduler=ON", "--innodb-file-per-table=OFF", # These 3 keys run MySQL with GTID consistency enforced to avoid issues with production deployments that use it. "--enforce-gtid-consistency=ON", "--log-bin=bin.log", - "--server-id=2", + "--server-id=2" ] environment: *mysql-default-environment ports: