7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-26 16:53:28 +00:00
tutor/docs
Régis Behmo 2a47100d6a fix: broken mysql after palm upgrade
This fix is for a rather serious issue that affects users who upgrade
from Olive to Palm. The client mysql charset and collation was
incorrectly set to utf8mb4, while the server stil runs utf8mb3. Only
users who run the mysql container are affected.

To resolve this issue, we explicitely configure the client to use the
utf8mb3 charset/collation.

Important note: users who have somehow managed to upgrade from olive to
Palm before may find themselves in an undefined state. They might have
to fix their mysql data manually. Same thing for users who launched Palm
from scratch; although, according to my preliinary tests, they should be
able to downgrade their connection from utf8mb4 to utf8mb3 without
issue.

In addition, we upgrade to mysql 8.1.0. Among many other fixes, this
avoids a server restart after the upgrade:

> An in-place upgrade from MySQL 5.7 to MySQL 8.0, without a server
> restart, could result in unexpected errors when executing queries on
> tables. This fix eliminates the need to restart the server between the
> upgrade and queries. (Bug #35410528)

https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-34.html

See also the 8.1.0 release notes:

https://dev.mysql.com/doc/relnotes/mysql/8.1/en/news-8-1-0.html

Close #887.
2023-08-16 19:01:41 +02:00
..
_ext feat: migrate to plugins.v1 with filters & actions 2022-04-15 15:30:54 +02:00
download docs: wrap tutor[full] in quotes for zsh compatibility 2022-04-15 09:20:21 +02:00
img feat: upgrade to olive 2022-12-12 16:55:07 +01:00
plugins fix: remove references to the wizard edition 2023-08-03 11:08:35 +02:00
reference depr: templated hooks 2023-06-14 21:08:49 +02:00
tutorials feat: add support for http/3 2023-08-03 10:59:43 +02:00
.gitignore Migrate openedx-docker project to Tutor 👩‍🏫 2018-12-26 19:27:08 +01:00
conf.py depr: halt compatibility with python 3.7 2023-06-14 19:40:58 +02:00
configuration.rst fix: broken mysql after palm upgrade 2023-08-16 19:01:41 +02:00
dev.rst feat: separate mounts command 2023-06-14 21:08:49 +02:00
faq.rst fix: remove references to the wizard edition 2023-08-03 11:08:35 +02:00
gettingstarted.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00
index.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00
install.rst docs: Tweak upgrade instructions 2023-06-23 17:14:03 +02:00
intro.rst feat: deprecate "quickstart" and rename to "launch" 2022-09-30 12:05:35 +02:00
k8s.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00
local.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00
Makefile feat: strongly typed hooks 2022-11-15 14:58:36 +01:00
quickstart.rst feat: upgrade to Palm 2023-06-14 19:40:58 +02:00
run.rst docs: build docs in CI (and be nitpicky about it) 2021-10-14 12:59:57 +02:00
testimonials.rst v10.0.0 Upgrade to Juniper (2020-06-15) 2020-06-15 10:19:07 +02:00
troubleshooting.rst docs: troubleshoot high memory usage (#810) 2023-03-10 11:20:21 +01:00
tutor.rst ci: simplify release process 2022-11-29 16:46:06 +01:00
whatnext.rst feat: upgrade to olive 2022-12-12 16:55:07 +01:00