From bc9c10134789ef5f5963d320496a62a1b515d3ca Mon Sep 17 00:00:00 2001 From: Danyal-Faheem Date: Wed, 3 Jul 2024 18:37:35 +0500 Subject: [PATCH] fix: add --mysql-native-password=ON param to fix broken connection fixes #1089 For tutor instances that were created with tutor 15 and earlier and then upgraded to tutor 18, the launch process would fail as MySQL connection could not be made. This is because mysql-native-password was removed in MySQL 8.4.0. We turn it on temporarily to fix failing connections --- tutor/templates/local/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tutor/templates/local/docker-compose.yml b/tutor/templates/local/docker-compose.yml index aaa9601da0..14e141434d 100644 --- a/tutor/templates/local/docker-compose.yml +++ b/tutor/templates/local/docker-compose.yml @@ -44,6 +44,7 @@ services: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --binlog-expire-logs-seconds=259200 + --mysql-native-password=ON restart: unless-stopped user: "999:999" volumes: