mysql:Lock wait timeout exceeded,try restarting transaction 转:http://my.oschina.net/quanzhong/blog/222091