From 47acf5b2a54d9639812795a82235eaac7134edcb Mon Sep 17 00:00:00 2001 From: aksm Date: Tue, 28 Feb 2023 14:04:07 -0500 Subject: [PATCH] Remove --default-authentication-plugin (deprecated in mysql and warning in mariadb) option and add --log-bin=mysqld-bin in accordance with warning about --binlog-expire-logs-seconds. --- deploy/ec2-docker/docker-compose-aws-s3-arm64.yml | 2 +- deploy/ec2-docker/docker-compose-aws-s3.yml | 2 +- deploy/ec2-docker/docker-compose-selfsigned.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/ec2-docker/docker-compose-aws-s3-arm64.yml b/deploy/ec2-docker/docker-compose-aws-s3-arm64.yml index 5cb9955..b45656f 100644 --- a/deploy/ec2-docker/docker-compose-aws-s3-arm64.yml +++ b/deploy/ec2-docker/docker-compose-aws-s3-arm64.yml @@ -67,7 +67,7 @@ services: - /drupalconfig db: image: mariadb:10.6.8-focal - command: --default-authentication-plugin=mysql_native_password --binlog-expire-logs-seconds=172800 --max_allowed_packet=256M --sort_buffer_size=512K --lower_case_table_names=1 --transaction-isolation=READ-COMMITTED + command: --binlog-expire-logs-seconds=172800 --max_allowed_packet=256M --sort_buffer_size=512K --lower_case_table_names=1 --transaction-isolation=READ-COMMITTED --log-bin=mysqld-bin container_name: esmero-db restart: always environment: diff --git a/deploy/ec2-docker/docker-compose-aws-s3.yml b/deploy/ec2-docker/docker-compose-aws-s3.yml index 727b4b9..4f3daab 100644 --- a/deploy/ec2-docker/docker-compose-aws-s3.yml +++ b/deploy/ec2-docker/docker-compose-aws-s3.yml @@ -67,7 +67,7 @@ services: - /drupalconfig db: image: mysql:8.0.28 - command: mysqld --default-authentication-plugin=mysql_native_password --binlog-expire-logs-seconds=172800 --max_allowed_packet=256M --transaction-isolation=READ-COMMITTED + command: mysqld --binlog-expire-logs-seconds=172800 --max_allowed_packet=256M --transaction-isolation=READ-COMMITTED --log-bin=mysqld-bin container_name: esmero-db restart: always environment: diff --git a/deploy/ec2-docker/docker-compose-selfsigned.yml b/deploy/ec2-docker/docker-compose-selfsigned.yml index 745135c..de6baa2 100644 --- a/deploy/ec2-docker/docker-compose-selfsigned.yml +++ b/deploy/ec2-docker/docker-compose-selfsigned.yml @@ -66,7 +66,7 @@ services: - /drupalconfig db: image: mysql:8.0.28 - command: mysqld --default-authentication-plugin=mysql_native_password --binlog-expire-logs-seconds=172800 --max_allowed_packet=256M --transaction-isolation=READ-COMMITTED + command: mysqld --binlog-expire-logs-seconds=172800 --max_allowed_packet=256M --transaction-isolation=READ-COMMITTED --log-bin=mysqld-bin container_name: esmero-db restart: always environment: