From c5838deec5b88af41ca4329d2ac88541c6b2b99f Mon Sep 17 00:00:00 2001 From: misworga831 Date: Mon, 8 May 2023 10:27:19 +0800 Subject: [PATCH] add mysql max connections --- config/my.cnf | 1 + 1 file changed, 1 insertion(+) diff --git a/config/my.cnf b/config/my.cnf index f0e5af2..418893e 100644 --- a/config/my.cnf +++ b/config/my.cnf @@ -6,6 +6,7 @@ character-set-server=utf8mb4 collation-server=utf8mb4_unicode_ci init_connect='SET NAMES utf8mb4' group_concat_max_len=4294967295 +max_connections=5000 log-bin=mysql-bin # 开启 binlog binlog-format=ROW # 选择 ROW 模式