1、查看当前有没有被锁的表:
show status like 'table%';
2、查看当前被锁的表:
show processlist;
3、停止锁定:
kill Id;
(Id为show processlist 查询出来的Id)
有关对表加锁的介绍:http://blog.csdn.net/sunhuaquan/article/details/6202635
http://blog.csdn.net/dc_726/article/details/8576151