From d101d4f448fd7cf1bc42e75fe4037ea3c1d7e193 Mon Sep 17 00:00:00 2001 From: Alex Buckham Date: Tue, 10 Mar 2020 12:07:28 +1000 Subject: [PATCH] Add 'The connection is broken and recovery is not possible.' thrown by Microsoft ODBC Driver to the list of causedByLostConnection error messages --- 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 17d94b081147..63b3b297b163 100644 --- a/src/Illuminate/Database/DetectsLostConnections.php +++ b/src/Illuminate/Database/DetectsLostConnections.php @@ -42,6 +42,7 @@ protected function causedByLostConnection(Throwable $e) 'Login timeout expired', 'Connection refused', 'running with the --read-only option so it cannot execute this statement', + 'The connection is broken and recovery is not possible. The connection is marked by the client driver as unrecoverable. No attempt was made to restore the connection.', ]); } }