MySQL Forums
Forum List  »  MyISAM

Re: Waiting for table metadata lock
Posted by: Rick James
Date: January 07, 2013 11:03PM

Switch go InnoDB and get rid of the LOCK commands.

This might be the cause...
Another thread could have LOCKed the table, then went off to do something else (non-SQL). PROCESSLIST would show "Sleep" until that thread gets back to issuing an SQL statement.

Options: ReplyQuote

Written By
January 06, 2013 10:24AM
Re: Waiting for table metadata lock
January 07, 2013 11:03PM
January 08, 2013 05:15AM

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.