Skip to content

Commit cadbd47

Browse files
committed
Merge branch '6.x' into 7.x
# Conflicts: # src/Illuminate/Foundation/Application.php # src/Illuminate/Redis/Connectors/PhpRedisConnector.php
2 parents 1e516c6 + 8f318e4 commit cadbd47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DetectsLostConnections.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected function causedByLostConnection(Throwable $e)
4040
'Communication link failure',
4141
'connection is no longer usable',
4242
'Login timeout expired',
43-
'Connection refused',
43+
'SQLSTATE[HY000] [2002] Connection refused',
4444
'running with the --read-only option so it cannot execute this statement',
4545
'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.',
4646
'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Try again',

0 commit comments

Comments
 (0)