Skip to content

Commit 1ff099a

Browse files
authored
Add new SQL error message "No connection could be made ... actively refused it" (#47718)
1 parent 333d2ef commit 1ff099a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Illuminate/Database/DetectsLostConnections.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ protected function causedByLostConnection(Throwable $e)
6565
'SSL: Handshake timed out',
6666
'SQLSTATE[08006] [7] SSL error: sslv3 alert unexpected message',
6767
'SQLSTATE[08006] [7] unrecognized SSL error code:',
68+
'SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it',
6869
]);
6970
}
7071
}

0 commit comments

Comments
 (0)