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), // 开启字段缓存