My Oracle Support Banner

After a Crash InnoDB Transactions Fail With the Error: ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction; XA Transactions (Doc ID 1911871.1)

Last updated on MAY 16, 2023

Applies to:

MySQL Server - Version 4.1 and later
Information in this document applies to any platform.


After a crash of MySQL where XA transactions are used, some queries always encounter the error:

Notice transaction 3427 that is listed as a prepared recovered transaction. The start time of the transaction is at the same time as the last restart of MySQL.


The MySQL instance crashed - for example while the disk with the binary logs were full.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.