diff --git a/changelog.d/20230824_104119_fghaas_utf8mb3_k8s.md b/changelog.d/20230824_104119_fghaas_utf8mb3_k8s.md new file mode 100644 index 0000000..b732065 --- /dev/null +++ b/changelog.d/20230824_104119_fghaas_utf8mb3_k8s.md @@ -0,0 +1 @@ +- 💥[Bugfix] Apply "fix mysql crash after upgrade to Palm" from 16.1.0 to `tutor k8s` deployments, as well. Users previously running `tutor k8s` with `RUN_MYSQL: true`, with any version between 16.0.0 and 16.1.0 including, might have to fix their data manually. For users running `tutor local`, this change has no effect, as the underlying issue was already fixed in 16.1.0. For users running `tutor k8s` with `RUN_MYSQL: false`, this change is also a no-op. (by @fghaas) diff --git a/tutor/templates/k8s/deployments.yml b/tutor/templates/k8s/deployments.yml index ee01724..ff833ad 100644 --- a/tutor/templates/k8s/deployments.yml +++ b/tutor/templates/k8s/deployments.yml @@ -392,7 +392,7 @@ spec: containers: - name: mysql image: {{ DOCKER_IMAGE_MYSQL }} - args: ["mysqld", "--character-set-server=utf8", "--collation-server=utf8_general_ci"] + args: ["mysqld", "--character-set-server=utf8mb3", "--collation-server=utf8mb3_general_ci"] env: - name: MYSQL_ROOT_PASSWORD value: "{{ MYSQL_ROOT_PASSWORD }}"