Skip to content
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

Please use SET GLOBAL host_cache_size=0 instead #921

Closed
ghnp5 opened this issue Oct 24, 2022 · 3 comments · Fixed by #1002
Closed

Please use SET GLOBAL host_cache_size=0 instead #921

ghnp5 opened this issue Oct 24, 2022 · 3 comments · Fixed by #1002
Labels
Request Request for image modification or feature

Comments

@ghnp5
Copy link

ghnp5 commented Oct 24, 2022

This warning appears when I restart MySQL docker instance:

2022-10-24T10:19:24.316236Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.

I don't maintain the my.cnf file, so I assume it is MySQL itself that is putting this --skip-host-cache variable in by default.

Thank you.

@wglambert wglambert added the Request Request for image modification or feature label Oct 24, 2022
@dunhanson
Copy link

I also encountered this problem

@jiugem
Copy link

jiugem commented Jul 25, 2023

I set the host_cache_size=0 parameter and still get an error

@rawr51919
Copy link
Contributor

Fixed in PR #1002

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request Request for image modification or feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants