File tree 10 files changed +22
-1
lines changed 10 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ RUN set -ex; \
125
125
| xargs -rt -0 sed -Ei 's/^(bind-address|log|user\s )/#&/' ; \
126
126
# don't reverse lookup hostnames, they are usually another container
127
127
printf "[mariadb]\n host-cache-size=0\n skip-name-resolve\n " > /etc/mysql/mariadb.conf.d/05-skipcache.cnf; \
128
+ # Issue #560
129
+ sed -i -e '/character-set-collations/d' /etc/mysql/mariadb.conf.d/50-server.cnf; \
128
130
# Issue #327 Correct order of reading directories /etc/mysql/mariadb.conf.d before /etc/mysql/conf.d (mount-point per documentation)
129
131
if [ -L /etc/mysql/my.cnf ]; then \
130
132
# 10.5+
Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ RUN set -ex; \
127
127
| xargs -rt -0 sed -Ei 's/^(bind-address|log|user\s )/#&/' ; \
128
128
# don't reverse lookup hostnames, they are usually another container
129
129
printf "[mariadb]\n host-cache-size=0\n skip-name-resolve\n " > /etc/mysql/mariadb.conf.d/05-skipcache.cnf; \
130
+ # Issue #560
131
+ sed -i -e '/character-set-collations/d' /etc/mysql/mariadb.conf.d/50-server.cnf; \
130
132
# Issue #327 Correct order of reading directories /etc/mysql/mariadb.conf.d before /etc/mysql/conf.d (mount-point per documentation)
131
133
if [ -L /etc/mysql/my.cnf ]; then \
132
134
# 10.5+
Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ RUN set -ex; \
127
127
| xargs -rt -0 sed -Ei 's/^(bind-address|log|user\s )/#&/' ; \
128
128
# don't reverse lookup hostnames, they are usually another container
129
129
printf "[mariadb]\n host-cache-size=0\n skip-name-resolve\n " > /etc/mysql/mariadb.conf.d/05-skipcache.cnf; \
130
+ # Issue #560
131
+ sed -i -e '/character-set-collations/d' /etc/mysql/mariadb.conf.d/50-server.cnf; \
130
132
# Issue #327 Correct order of reading directories /etc/mysql/mariadb.conf.d before /etc/mysql/conf.d (mount-point per documentation)
131
133
if [ -L /etc/mysql/my.cnf ]; then \
132
134
# 10.5+
Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ RUN set -ex; \
125
125
| xargs -rt -0 sed -Ei 's/^(bind-address|log|user\s )/#&/' ; \
126
126
# don't reverse lookup hostnames, they are usually another container
127
127
printf "[mariadb]\n host-cache-size=0\n skip-name-resolve\n " > /etc/mysql/mariadb.conf.d/05-skipcache.cnf; \
128
+ # Issue #560
129
+ sed -i -e '/character-set-collations/d' /etc/mysql/mariadb.conf.d/50-server.cnf; \
128
130
# Issue #327 Correct order of reading directories /etc/mysql/mariadb.conf.d before /etc/mysql/conf.d (mount-point per documentation)
129
131
if [ -L /etc/mysql/my.cnf ]; then \
130
132
# 10.5+
Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ RUN set -ex; \
125
125
| xargs -rt -0 sed -Ei 's/^(bind-address|log|user\s )/#&/' ; \
126
126
# don't reverse lookup hostnames, they are usually another container
127
127
printf "[mariadb]\n host-cache-size=0\n skip-name-resolve\n " > /etc/mysql/mariadb.conf.d/05-skipcache.cnf; \
128
+ # Issue #560
129
+ sed -i -e '/character-set-collations/d' /etc/mysql/mariadb.conf.d/50-server.cnf; \
128
130
# Issue #327 Correct order of reading directories /etc/mysql/mariadb.conf.d before /etc/mysql/conf.d (mount-point per documentation)
129
131
if [ -L /etc/mysql/my.cnf ]; then \
130
132
# 10.5+
Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ RUN set -ex; \
125
125
| xargs -rt -0 sed -Ei 's/^(bind-address|log|user\s )/#&/' ; \
126
126
# don't reverse lookup hostnames, they are usually another container
127
127
printf "[mariadb]\n host-cache-size=0\n skip-name-resolve\n " > /etc/mysql/mariadb.conf.d/05-skipcache.cnf; \
128
+ # Issue #560
129
+ sed -i -e '/character-set-collations/d' /etc/mysql/mariadb.conf.d/50-server.cnf; \
128
130
# Issue #327 Correct order of reading directories /etc/mysql/mariadb.conf.d before /etc/mysql/conf.d (mount-point per documentation)
129
131
if [ -L /etc/mysql/my.cnf ]; then \
130
132
# 10.5+
Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ RUN set -ex; \
125
125
| xargs -rt -0 sed -Ei 's/^(bind-address|log|user\s )/#&/' ; \
126
126
# don't reverse lookup hostnames, they are usually another container
127
127
printf "[mariadb]\n host-cache-size=0\n skip-name-resolve\n " > /etc/mysql/mariadb.conf.d/05-skipcache.cnf; \
128
+ # Issue #560
129
+ sed -i -e '/character-set-collations/d' /etc/mysql/mariadb.conf.d/50-server.cnf; \
128
130
# Issue #327 Correct order of reading directories /etc/mysql/mariadb.conf.d before /etc/mysql/conf.d (mount-point per documentation)
129
131
if [ -L /etc/mysql/my.cnf ]; then \
130
132
# 10.5+
Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ RUN set -ex; \
125
125
| xargs -rt -0 sed -Ei 's/^(bind-address|log|user\s )/#&/' ; \
126
126
# don't reverse lookup hostnames, they are usually another container
127
127
printf "[mariadb]\n host-cache-size=0\n skip-name-resolve\n " > /etc/mysql/mariadb.conf.d/05-skipcache.cnf; \
128
+ # Issue #560
129
+ sed -i -e '/character-set-collations/d' /etc/mysql/mariadb.conf.d/50-server.cnf; \
128
130
# Issue #327 Correct order of reading directories /etc/mysql/mariadb.conf.d before /etc/mysql/conf.d (mount-point per documentation)
129
131
if [ -L /etc/mysql/my.cnf ]; then \
130
132
# 10.5+
Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ RUN set -ex; \
127
127
| xargs -rt -0 sed -Ei 's/^(bind-address|log|user\s )/#&/' ; \
128
128
# don't reverse lookup hostnames, they are usually another container
129
129
printf "[mariadb]\n host-cache-size=0\n skip-name-resolve\n " > /etc/mysql/mariadb.conf.d/05-skipcache.cnf; \
130
+ # Issue #560
131
+ sed -i -e '/character-set-collations/d' /etc/mysql/mariadb.conf.d/50-server.cnf; \
130
132
# Issue #327 Correct order of reading directories /etc/mysql/mariadb.conf.d before /etc/mysql/conf.d (mount-point per documentation)
131
133
if [ -L /etc/mysql/my.cnf ]; then \
132
134
# 10.5+
Original file line number Diff line number Diff line change @@ -65,7 +65,10 @@ update_version()
65
65
-e ' /memory\.pressure/,+7d' \
66
66
" $version /docker-entrypoint.sh"
67
67
sed -i -e ' s/ REPLICA\$/ SLAVE$/' " $version " /healthcheck.sh
68
- sed -i -e ' s/\/run/\/var\/run\//g' " $version /Dockerfile"
68
+ sed -i -e ' s/\/run/\/var\/run\//g' \
69
+ -e ' /character-set-collations/d' \
70
+ -e ' /^# Issue #560/d' \
71
+ " $version /Dockerfile"
69
72
;; # almost nothing to see/do here
70
73
10.5)
71
74
sed -i -e ' /--old-mode/d' \
You can’t perform that action at this time.
0 commit comments