diff --git a/10.10/docker-entrypoint.sh b/10.10/docker-entrypoint.sh index ff09512..743b879 100755 --- a/10.10/docker-entrypoint.sh +++ b/10.10/docker-entrypoint.sh @@ -273,11 +273,8 @@ docker_setup_db() { # --skip-write-binlog usefully disables binary logging # but also outputs LOCK TABLES to improve the IO of # Aria (MDEV-23326) for 10.4+. - { - # temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity - echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');" - mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo - } | docker_process_sql --dont-use-mysql-root-password --database=mysql + mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo \ + | docker_process_sql --dont-use-mysql-root-password --database=mysql # tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet fi # Generate random root password diff --git a/10.11/docker-entrypoint.sh b/10.11/docker-entrypoint.sh index ff09512..743b879 100755 --- a/10.11/docker-entrypoint.sh +++ b/10.11/docker-entrypoint.sh @@ -273,11 +273,8 @@ docker_setup_db() { # --skip-write-binlog usefully disables binary logging # but also outputs LOCK TABLES to improve the IO of # Aria (MDEV-23326) for 10.4+. - { - # temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity - echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');" - mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo - } | docker_process_sql --dont-use-mysql-root-password --database=mysql + mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo \ + | docker_process_sql --dont-use-mysql-root-password --database=mysql # tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet fi # Generate random root password diff --git a/10.3/docker-entrypoint.sh b/10.3/docker-entrypoint.sh index 6ea97ab..afd83aa 100755 --- a/10.3/docker-entrypoint.sh +++ b/10.3/docker-entrypoint.sh @@ -273,11 +273,8 @@ docker_setup_db() { # --skip-write-binlog usefully disables binary logging # but also outputs LOCK TABLES to improve the IO of # Aria (MDEV-23326) for 10.4+. - { - # temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity - echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');" - mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo - } | docker_process_sql --dont-use-mysql-root-password --database=mysql + mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo \ + | docker_process_sql --dont-use-mysql-root-password --database=mysql # tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet fi # Generate random root password diff --git a/10.4/docker-entrypoint.sh b/10.4/docker-entrypoint.sh index 6ea97ab..afd83aa 100755 --- a/10.4/docker-entrypoint.sh +++ b/10.4/docker-entrypoint.sh @@ -273,11 +273,8 @@ docker_setup_db() { # --skip-write-binlog usefully disables binary logging # but also outputs LOCK TABLES to improve the IO of # Aria (MDEV-23326) for 10.4+. - { - # temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity - echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');" - mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo - } | docker_process_sql --dont-use-mysql-root-password --database=mysql + mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo \ + | docker_process_sql --dont-use-mysql-root-password --database=mysql # tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet fi # Generate random root password diff --git a/10.5/docker-entrypoint.sh b/10.5/docker-entrypoint.sh index 6ea97ab..afd83aa 100755 --- a/10.5/docker-entrypoint.sh +++ b/10.5/docker-entrypoint.sh @@ -273,11 +273,8 @@ docker_setup_db() { # --skip-write-binlog usefully disables binary logging # but also outputs LOCK TABLES to improve the IO of # Aria (MDEV-23326) for 10.4+. - { - # temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity - echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');" - mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo - } | docker_process_sql --dont-use-mysql-root-password --database=mysql + mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo \ + | docker_process_sql --dont-use-mysql-root-password --database=mysql # tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet fi # Generate random root password diff --git a/10.6/docker-entrypoint.sh b/10.6/docker-entrypoint.sh index ff09512..743b879 100755 --- a/10.6/docker-entrypoint.sh +++ b/10.6/docker-entrypoint.sh @@ -273,11 +273,8 @@ docker_setup_db() { # --skip-write-binlog usefully disables binary logging # but also outputs LOCK TABLES to improve the IO of # Aria (MDEV-23326) for 10.4+. - { - # temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity - echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');" - mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo - } | docker_process_sql --dont-use-mysql-root-password --database=mysql + mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo \ + | docker_process_sql --dont-use-mysql-root-password --database=mysql # tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet fi # Generate random root password diff --git a/10.7/docker-entrypoint.sh b/10.7/docker-entrypoint.sh index ff09512..743b879 100755 --- a/10.7/docker-entrypoint.sh +++ b/10.7/docker-entrypoint.sh @@ -273,11 +273,8 @@ docker_setup_db() { # --skip-write-binlog usefully disables binary logging # but also outputs LOCK TABLES to improve the IO of # Aria (MDEV-23326) for 10.4+. - { - # temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity - echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');" - mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo - } | docker_process_sql --dont-use-mysql-root-password --database=mysql + mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo \ + | docker_process_sql --dont-use-mysql-root-password --database=mysql # tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet fi # Generate random root password diff --git a/10.8/docker-entrypoint.sh b/10.8/docker-entrypoint.sh index ff09512..743b879 100755 --- a/10.8/docker-entrypoint.sh +++ b/10.8/docker-entrypoint.sh @@ -273,11 +273,8 @@ docker_setup_db() { # --skip-write-binlog usefully disables binary logging # but also outputs LOCK TABLES to improve the IO of # Aria (MDEV-23326) for 10.4+. - { - # temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity - echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');" - mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo - } | docker_process_sql --dont-use-mysql-root-password --database=mysql + mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo \ + | docker_process_sql --dont-use-mysql-root-password --database=mysql # tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet fi # Generate random root password diff --git a/10.9/docker-entrypoint.sh b/10.9/docker-entrypoint.sh index ff09512..743b879 100755 --- a/10.9/docker-entrypoint.sh +++ b/10.9/docker-entrypoint.sh @@ -273,11 +273,8 @@ docker_setup_db() { # --skip-write-binlog usefully disables binary logging # but also outputs LOCK TABLES to improve the IO of # Aria (MDEV-23326) for 10.4+. - { - # temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity - echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');" - mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo - } | docker_process_sql --dont-use-mysql-root-password --database=mysql + mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo \ + | docker_process_sql --dont-use-mysql-root-password --database=mysql # tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet fi # Generate random root password diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 6ea97ab..afd83aa 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -273,11 +273,8 @@ docker_setup_db() { # --skip-write-binlog usefully disables binary logging # but also outputs LOCK TABLES to improve the IO of # Aria (MDEV-23326) for 10.4+. - { - # temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity - echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');" - mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo - } | docker_process_sql --dont-use-mysql-root-password --database=mysql + mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo \ + | docker_process_sql --dont-use-mysql-root-password --database=mysql # tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet fi # Generate random root password