Skip to content

Commit

Permalink
[8.x] Fix generic DetectsLostConnection string (#35323)
Browse files Browse the repository at this point in the history
  • Loading branch information
paras-malhotra committed Nov 23, 2020
1 parent 699a23f commit 935dc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/DetectsLostConnections.php
Expand Up @@ -40,7 +40,7 @@ protected function causedByLostConnection(Throwable $e)
'Communication link failure',
'connection is no longer usable',
'Login timeout expired',
'Connection refused',
'SQLSTATE[HY000] [2002] Connection refused',
'running with the --read-only option so it cannot execute this statement',
'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.',
'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Try again',
Expand Down

0 comments on commit 935dc47

Please sign in to comment.