Skip to content

fix: mysql container Unable to start #10185

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

livk-cloud
Copy link
Contributor

No description provided.

@@ -19,9 +19,10 @@ public class MySQLRootAccountTest {
@Parameterized.Parameters(name = "{0}")
public static DockerImageName[] params() {
return new DockerImageName[] {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to leave these commented out?
I'd expect that you'd have just needed to add the new image to the list like you have elsewhere.

Copy link
Contributor Author

@livk-cloud livk-cloud Apr 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to leave these commented out? I'd expect that you'd have just needed to add the new image to the list like you have elsewhere.

Hello, I have just finished my holiday. Regarding this issue, it was my negligence and I will deal with this matter.

Copy link

@JackW2000 JackW2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change needed to uncomment other test images in MySQLRootAccountTest.java

Config change may also need re-evaluating in the scenario that these currently uncommented images fail without it.

@eddumelendez
Copy link
Member

eddumelendez commented Apr 22, 2025

Thanks for your contribution, @livk-cloud. Please, avoid creating an issue and a PR at the same time. Ideal flow is raising an discussion, convert it into an issue and then raise a PR. For this case, it is understandable to skip the discussion and raise the issue directly.

Now, talking about this and the recent changes on mysql, updating the my.cnf is causing more issue than benefits nowadays. I've been thinking about deleting it. Need to run some test to compare the benefits.

Copy link

@JackW2000 JackW2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy that the commented out images are now back so are being included, but there are still test failures on this branch which need to be resolved.

Additionally, as suggested by @eddumelendez, the removal of the config item may not be the best route globally and could do with being investigated prior to the decision to merge.

@livk-cloud
Copy link
Contributor Author

@eddumelendez Thank for your answer. I also support deleting my.cnf. The compatibility issue of multiple versions cannot be resolved. However, the current situation is that Mysql 9.3 Images cannot be started. If you consider supporting 9.3, I think deleting the removed system variables is the easiest. What do you think?

@eddumelendez
Copy link
Member

In order to avoid breaking changes for existing users, we should handle TC_MY_CNF in a different way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants