SyntaxFix
Write A Post
Hire A Developer
Questions
If you're using JDBC, then you have the option includeInnodbStatusInDeadlockExceptions=true
https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-configuration-properties.html