Skip to content

Commit

Permalink
fix: add --mysql-native-password=ON param to fix broken connection
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Danyal-Faheem committed Jul 3, 2024
1 parent dce1138 commit bc9c101
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tutor/templates/local/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bc9c101

Please sign in to comment.