Mysql container uses deprecated configuration setting

I am trying to get rid of this warning but I can’t figure out where it is coming from. Has anyone been able to fix the warning?

I never used skip-host in my application but I am still getting the warning. I also try tried to use SET GLOBAL host_cache_size=0 in sql script but it did not work.

A bit of context information would be helpful, such as which exact image you are using.

Probably you want to check if there is an update version of the image, if not, you might want to raise an issue in the Github repo of the project.

I am using the Mysql image 8.0. I can’t get rid of the warning.

So it’s this repo: Docker?

First thing in the description is a maintained by link that leads you to the Github projekt:

You could open an issue there.

Or you could check out the section “Using a custom MySQL configuration file” of the repo description and see whether it helps you situation.

For some reason the warning is still there.