From 8f2b06be45a5bbd493a30b717c27c783b59a0bfb Mon Sep 17 00:00:00 2001 From: Marc van der Meulen Date: Wed, 29 Sep 2021 15:14:17 +0200 Subject: [PATCH] Add new lost connection message to DetectsLostConnections (#39028) --- src/Illuminate/Database/DetectsLostConnections.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Database/DetectsLostConnections.php b/src/Illuminate/Database/DetectsLostConnections.php index 93be53b2fdc9..e12bf1660a06 100644 --- a/src/Illuminate/Database/DetectsLostConnections.php +++ b/src/Illuminate/Database/DetectsLostConnections.php @@ -54,6 +54,7 @@ protected function causedByLostConnection(Throwable $e) 'SQLSTATE[08S01]: Communication link failure', 'SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host', 'SQLSTATE[HY000]: General error: 7 SSL SYSCALL error: No route to host', + 'The client was disconnected by the server because of inactivity. See wait_timeout and interactive_timeout for configuring this behavior.', ]); } }