Skip to content

Commit 9c2bb99

Browse files
committed
Fix start of MySQL container
The native password module used was deprecated with MySQL8 and doesn't work with MySQL9 anymore. It seems we don't need it anymore (I think we needed it because the mariadb-utils did not have support for caching_sha2_password yet), but the alternative is to keep using the MySQL8 container and not test for MySQL9. Under the hood in the past we used to store the password as a hash in the mysql.user table and now it's stored in another way (https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password) which should also give better performance. See: https://dba.stackexchange.com/a/209520
1 parent 030078c commit 9c2bb99

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gitlab/ci/template.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
- /bin/true
3737
services:
3838
- name: mysql
39-
command: ["--mysql-native-password", "--authentication_policy=mysql_native_password"]
4039
alias: sqlserver
4140

4241
.mariadb_job:

0 commit comments

Comments
 (0)