Hi, Unfortunately option MYSQL_OPT_RECONNECT also not helping me. Just 1h ago I had deadlock again. Trace looks famous. Don't have time Yet to find is it exactly scenario identified by David. Trace, BE log and DB stats/proc lst. attached in trac #9792.