Skip to content

Fix start of MySQL container #2640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Fix start of MySQL container #2640

merged 1 commit into from
Aug 2, 2024

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented Aug 2, 2024

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
(cherry picked from commit 9c2bb99)

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
(cherry picked from commit 9c2bb99)
@vmcj
Copy link
Member Author

vmcj commented Aug 2, 2024

I'll merge this when CI is green.

@vmcj vmcj merged commit 6f223ea into DOMjudge:8.3 Aug 2, 2024
22 checks passed
@vmcj vmcj deleted the fix_ci_83 branch August 2, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant