DBIx-ParseError-MySQL
view release on metacpan or search on metacpan
lib/DBIx/ParseError/MySQL.pm view on Meta::CPAN
# Connection dropped/interrupted
(?-x:MySQL server has gone away)|
(?-x:Lost connection to MySQL server)|
# NOTE: Exclude max_execution_time interruptions, since these are not connection
# failures, and retrying them would just produce the same results
(?-x:Query execution was interrupted(?!, maximum statement execution time exceeded))|
# Initial connection failure
(?-x:Bad handshake)|
(?-x:Too many connections)|
(?-x:Host '\S+' is blocked because of many connection errors)|
(?-x:Can't get hostname for your address)|
(?-x:Can't connect to (?:local )?MySQL server)|
# Packet corruption
(?-x:Got a read error from the connection pipe)|
(?-x:Got (?:an error|timeout) (?:reading|writing) communication packets)|
(?-x:Malformed communication packet)|
# XXX: This _might be_ a connection failure, but the DBD::mysql error message
# does not expose the direct failure cause. See DBD::mysql/dbdimp.c#L2551.
'Deadlock found when trying to get user-level lock; try rolling back transaction/releasing locks and restarting lock acquisition',
'Deadlock found when trying to get locking service lock; try releasing locks and restarting lock acquisition',
'Lock wait timeout exceeded; try restarting transaction',
'Service lock wait timeout exceeded',
'WSREP detected deadlock/conflict and aborted the transaction. Try restarting the transaction',
],
connection => [
'MySQL server has gone away',
'Lost connection to MySQL server during query',
"Lost connection to MySQL server at 'reading initial communication packet', system error: 0",
"Host 'example.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'",
"Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (38)",
"Can't connect to MySQL server on 'host_name' (111)",
'Got an error reading communication packets',
'Got an error writing communication packets',
'Got timeout reading communication packets',
'Got timeout writing communication packets',
'Turning off AutoCommit failed',
],
shutdown => [
'WSREP has not yet prepared node for application use',
( run in 0.501 second using v1.01-cache-2.11-cpan-49f99fa48dc )