MySQL Forums
Forum List  »  InnoDB

Re: Lock wait timeout exceeded; try restarting transaction
Posted by: shiva kumar
Date: February 04, 2009 06:46AM

I solved this problem in the following way.

the table which your are going to insert or update is used by other application
for ex : I have used hibernate in my web application(tomcat), where I am executing the query and not committing the hibernate session, so the table is still accessing by web application. I restarted my web server.

It works fine for me.

So, you need to identify the application which is accessing the table and stop those application.

Thank you,

Shiva Kumar p

Options: ReplyQuote


Subject
Views
Written By
Posted
14874
April 23, 2008 08:35AM
Re: Lock wait timeout exceeded; try restarting transaction
10203
February 04, 2009 06:46AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.