From b06afe619ade00d904108f776706a056bd382367 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 16 Nov 2022 20:58:03 +0800 Subject: [PATCH] Update my.cnf --- plugins/mariadb/conf/my.cnf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/mariadb/conf/my.cnf b/plugins/mariadb/conf/my.cnf index d7692aa33..fb342fa91 100644 --- a/plugins/mariadb/conf/my.cnf +++ b/plugins/mariadb/conf/my.cnf @@ -29,9 +29,11 @@ read_rnd_buffer_size = 256K myisam_sort_buffer_size = 4M thread_cache_size = 4 lower_case_table_names=1 -query_cache_size = 4M tmp_table_size = 8M +query_cache_type = 1 +query_cache_size = 4M + max_connections = 500 max_connect_errors = 100 open_files_limit = 65535