SET SQL_SAFE_UPDATES = 0;delete from table1; SET SQL_SAFE_UPDATES = 1; 转载于:https://www.cnblogs.com/xh831213/p/5145137.html