Skip to content

Commit

Permalink
Add new SQL error message "No connection could be made ... actively r…
Browse files Browse the repository at this point in the history
…efused it"
  • Loading branch information
magnusvin authored Jul 11, 2023
1 parent a7244f4 commit aaa5066
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Database/DetectsLostConnections.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ protected function causedByLostConnection(Throwable $e)
'SSL: Handshake timed out',
'SQLSTATE[08006] [7] SSL error: sslv3 alert unexpected message',
'SQLSTATE[08006] [7] unrecognized SSL error code:',
'SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it',
]);
}
}

0 comments on commit aaa5066

Please sign in to comment.