Skip to content

Commit

Permalink
Update DetectsLostConnections.php (#35744)
Browse files Browse the repository at this point in the history
AWS Aurora serverless DB sometimes aborts queries while performing scaling. The error returned is:
"SQLSTATE[HY000]: General error: 1105 The last transaction was aborted due to Seamless Scaling. Please retry."
  • Loading branch information
sfilzek committed Dec 29, 2020
1 parent 75a0753 commit 13546a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Database/DetectsLostConnections.php
Expand Up @@ -47,6 +47,7 @@ protected function causedByLostConnection(Throwable $e)
'SQLSTATE[HY000]: General error: 7 SSL SYSCALL error: EOF detected',
'SQLSTATE[HY000] [2002] Connection timed out',
'SSL: Connection timed out',
'SQLSTATE[HY000]: General error: 1105 The last transaction was aborted due to Seamless Scaling. Please retry.',
]);
}
}

0 comments on commit 13546a7

Please sign in to comment.