alter ignore table 表名 add unique index(字段名,字段名); 转载于:https://www.cnblogs.com/IsOneDeer/p/6807858.html