Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Hardcode MySQL version #969

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

jczuchnowski
Copy link
Collaborator

Latest MySQL removed --skip-host-cache flag but testcontainers still try to use it causing:

2024-03-29T15:45:29.779392Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-host-cache'.
2024-03-29T15:45:29.779894Z 0 [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mysql/ is unusable. You can remove all files that the server added to it.
2024-03-29T15:45:29.779907Z 0 [ERROR] [MY-010119] [Server] Aborting

I've hardcoded the last MySQL version that has this flag.

@jczuchnowski jczuchnowski requested a review from a team as a code owner March 29, 2024 15:54
@jczuchnowski jczuchnowski merged commit de37a3c into zio-archive:master Mar 29, 2024
12 checks passed
@jczuchnowski jczuchnowski deleted the fix-mysql-tests branch March 29, 2024 16:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant