本帖最后由 wind_324 于 2011-02-21 11:54:36 编辑

解决方案 »

  1.   

    LOCKED 解决方案
      

  2.   

    SELECT * FROM information_schema.`PROCESSLIST` P
    where user = 'username'
    and host='hostname'
    and db='myddb'
    and command='Query'
    and state='executing'
    and info='select ... your sql statement'来得到你的那个coonect id,然后kill掉即可。 
      

  3.   

    解锁就是将导致他上锁的sql杀掉 或者等待导致他上锁的sql执行完毕
      

  4.   

    用KILL杀掉产生死锁的那个SESSION。
      

  5.   

    kill 掉了进程 谢谢各位 结贴