Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Struts (1)
Windows (1)
XHTML (173)
Other Resources:
What Happens to Your Transactions When ERROR 1205 Occurred
What Happens to Your Transactions When ERROR 1205 Occurred? - MySQL FAQs - Transaction Management: Commit or Rollback
✍: 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.
2007-05-11, 6651👍, 0💬
Popular Posts:
How do we assign page specific attributes ? Page attributes are specified using the @Page directive.
How To Export Data to a CSV File? - Oracle DBA FAQ - Introduction to Oracle SQL Developer If you wan...
.NET INTERVIEW QUESTIONS - How can you avoid deadlock in threading? A good and careful planning can ...
How To Merge Cells in a Column? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells If you ...
What is the significance of Finalize method in .NET? .NET Garbage collector does almost all clean up...