Collections:
Error: Lock Wait Timeout Exceeded in MySQL
What Happens to Your Transactions When ERROR 1205 Occurred in MySQL?
✍: FYIcenter.com
If your transaction receives the "Lock wait timeout exceeded" - ERROR 1205, MySQL server automatically terminates your transaction and rolls back your data changes of the entire transaction. This is why the error messages tells you to "try restarting transaction".
Note that MySQL server will not touch the other transaction that holds the lock. That means the lock will stay as is. If you repeat your transaction right away, it will be blocked again, and may be timed out again, if the other transaction has not been committed or rolled back yet.
⇒ What Is a Dead Lock in MySQL
⇐ Transaction Waiting for a Data Lock in MySQL
2017-04-28, 6085🔥, 0💬
Popular Posts:
What Are Out-of-Range Errors with DATETIME values in SQL Server Transact-SQL? When you enter DATETIM...
How to download and install Microsoft SQL Server Management Studio Express in SQL Server? Microsoft ...
How To Locate and Take Substrings with CHARINDEX() and SUBSTRING() Functions in SQL Server Transact-...
How To Select All Columns of All Rows from a Table in Oracle? The simplest query statement is the on...
How To Convert a Unicode Strings to Non-Unicode Strings in SQL Server Transact-SQL? Since Unicode ch...