Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can't find record in 'tablename

 
sandhya sri
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am getting Can't find record in 'tablename' error. I am using MySql.
What is cause for this error?
As I know if we insert and delete from a table while selecting from the same table, We can get this error.
but what is my doubt is we also get 'lock wait time out exception'.

Can any one clarify this.

In advance thanks.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34401
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What code is running when you get the error?
 
sandhya sri
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually In my application while running the code related to insert and delete on xxx table, another member clicks on some service which also related to this xxx table for selection from this xxx table.
that is my scenario.

but what my doubt is, for the same scenario i can get lock wait timeout exception.But y I got this Exception?
My application is running since one and half year in live but this is the first time I got this exception.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34401
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you have more users now and that is introducing a deadlock?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic