Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Cancel
2
  • A "lock wait timeout" and a "deadlock" are two completely different things, and a deadlock is about the timing of events from more than one client thread, not "that query." It's "that query" and at least one other query from another thread, and almost certainly prior queries within the same transaction. Unfortunately, you have not posted all of the relevant output from SHOW ENGINE INNODB STATUS for this event... which would be everything from "LATEST DETECTED DEADLOCK" down through "WE ROLL BACK TRANSACTION..." Commented Mar 21, 2013 at 1:53
  • Thank you for the clarification regarding timeouts and deadlocks. As the deadlock is at the same time as the timeout errors, I think the timeouts were caused by this deadlock. Sorry for clipping the output, I am not yet very used to the MySQL/InnoDb status information - the missing information was complemented, now.
    – BurninLeo
    Commented Mar 21, 2013 at 9:19