From 6bb82cd4559d587f2f63228d8d3e2eaf124a5f93 Mon Sep 17 00:00:00 2001 From: Luke Johnson Date: Thu, 4 Nov 2021 12:47:05 +1300 Subject: [PATCH] Add new lost connection error message for sqlsrv --- 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 1cbd7b158d69..16c86874832a 100644 --- a/src/Illuminate/Database/DetectsLostConnections.php +++ b/src/Illuminate/Database/DetectsLostConnections.php @@ -56,6 +56,7 @@ protected function causedByLostConnection(Throwable $e) '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.', 'SQLSTATE[08006] [7] could not translate host name', + 'TCP Provider: Error code 0x274C', ]); } }