Skip to content

Commit 13546a7

Browse files
authored
Update DetectsLostConnections.php (#35744)
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."
1 parent 75a0753 commit 13546a7

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
@@ -47,6 +47,7 @@ protected function causedByLostConnection(Throwable $e)
4747
'SQLSTATE[HY000]: General error: 7 SSL SYSCALL error: EOF detected',
4848
'SQLSTATE[HY000] [2002] Connection timed out',
4949
'SSL: Connection timed out',
50+
'SQLSTATE[HY000]: General error: 1105 The last transaction was aborted due to Seamless Scaling. Please retry.',
5051
]);
5152
}
5253
}

0 commit comments

Comments
 (0)