mysql icon indicating copy to clipboard operation
mysql copied to clipboard

Please use SET GLOBAL host_cache_size=0 instead

Open ghnp5 opened this issue 3 years ago • 1 comments

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.

ghnp5 avatar Oct 24 '22 11:10 ghnp5

I also encountered this problem

dunhanson avatar Oct 29 '22 14:10 dunhanson

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

jiugem avatar Jul 25 '23 02:07 jiugem

Fixed in PR #1002

rawr51919 avatar Oct 23 '23 12:10 rawr51919