From 578fea03778827f25174edb26787909859b1c2b5 Mon Sep 17 00:00:00 2001 From: rawr51919 Date: Mon, 23 Oct 2023 09:26:14 -0300 Subject: [PATCH 1/2] Fix skip-host-cache deprecation warning --- 8.0/config/conf.d/docker.cnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/8.0/config/conf.d/docker.cnf b/8.0/config/conf.d/docker.cnf index 4f1829d66..b1b4c2b71 100644 --- a/8.0/config/conf.d/docker.cnf +++ b/8.0/config/conf.d/docker.cnf @@ -1,3 +1,3 @@ [mysqld] -skip-host-cache +SET GLOBAL host_cache_size=0 skip-name-resolve From 852daedf1bf72e09b238a85a892a6579598aa4f1 Mon Sep 17 00:00:00 2001 From: rawr51919 Date: Tue, 24 Oct 2023 13:19:14 -0300 Subject: [PATCH 2/2] Update docker.cnf as per suggestion Removes the `SET GLOBAL` at the beginning of the edited line as per the review comment suggestion --- 8.0/config/conf.d/docker.cnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/8.0/config/conf.d/docker.cnf b/8.0/config/conf.d/docker.cnf index b1b4c2b71..205bedb54 100644 --- a/8.0/config/conf.d/docker.cnf +++ b/8.0/config/conf.d/docker.cnf @@ -1,3 +1,3 @@ [mysqld] -SET GLOBAL host_cache_size=0 +host_cache_size=0 skip-name-resolve