From e9c86f43cc8c912d66db9689a968b4be69460ba8 Mon Sep 17 00:00:00 2001 From: chan <709206448@qq.com> Date: Sat, 16 Dec 2023 16:54:09 +0800 Subject: [PATCH] =?UTF-8?q?mysql=E6=96=AD=E7=BA=BF=E9=87=8D=E8=BF=9E?= =?UTF-8?q?=EF=BC=8C=E8=A7=A3=E5=86=B3=E9=98=9F=E5=88=97=E6=88=96=E8=80=85?= =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E7=B1=BB=E9=95=BF=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=93=8D=E4=BD=9C=E6=95=B0=E6=8D=AE=E5=BA=93=E7=9A=84?= =?UTF-8?q?=E5=9C=BA=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index b09a9bd6f..bfc14de47 100755 --- a/config/database.php +++ b/config/database.php @@ -50,7 +50,7 @@ return [ // 是否严格检查字段是否存在 'fields_strict' => true, // 是否需要断线重连 - 'break_reconnect' => false, + 'break_reconnect' => true, // 监听SQL 'trigger_sql' => env('app_debug', true), // 开启字段缓存