From 0866d484b142eb4c7e305e21f4a00594135a66df Mon Sep 17 00:00:00 2001 From: Alex Buckham Date: Tue, 10 Mar 2020 22:56:58 +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 (#31879) --- 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.', ]); } }