Skip to content

Commit 1e37ba6

Browse files
authored
Update DetectsLostConnections.php (#55331)
1 parent e8e0c32 commit 1e37ba6

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
'SSL error: sslv3 alert unexpected message',
6767
'unrecognized SSL error code:',
68+
'SQLSTATE[HY000] [1045] Access denied for user',
6869
'SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it',
6970
'SQLSTATE[HY000] [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',
7071
'SQLSTATE[HY000] [2002] Network is unreachable',

0 commit comments

Comments
 (0)