From c30a58a4c5eac8364cdae6f5bab9d20017ac1c3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 24 Aug 2023 16:04:24 +0800 Subject: [PATCH] qqq --- Command.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Command.php b/Command.php index 3afcf88..5f301a7 100644 --- a/Command.php +++ b/Command.php @@ -195,6 +195,9 @@ class Command extends Component if (str_contains($throwable->getMessage(), 'Send of 14 bytes failed with errno=32 Broken pipe')) { return true; } + if (str_contains($throwable->getMessage(), 'Lost connection to MySQL server during query')) { + return true; + } return false; }