mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-02-10 05:08:27 +00:00
fix: add turn on mysql-native-password authentication plugin to fix broken connection for users upgrading from Tutor 15 or earlier (#1090)
* 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.
This commit is contained in:
parent
dce1138d65
commit
08549141e2
@ -0,0 +1 @@
|
||||
- [Bugfix] Fix `mysql-native-password is not loaded` error in MySQL 8.4 when upgrading from tutor 15 or an earlier release to tutor 18 by enabling the plugin. (by @Danyal-Faheem)
|
@ -397,6 +397,7 @@ spec:
|
||||
- "--character-set-server=utf8mb4"
|
||||
- "--collation-server=utf8mb4_unicode_ci"
|
||||
- "--binlog-expire-logs-seconds=259200"
|
||||
- "--mysql-native-password=ON"
|
||||
env:
|
||||
- name: MYSQL_ROOT_PASSWORD
|
||||
value: "{{ MYSQL_ROOT_PASSWORD }}"
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user