enum不是枚举类型吗
set就不清楚了

解决方案 »

  1.   

    An ENUM value must be one of those listed in the column definition, or the internal numeric equivalent thereof. The value cannot be the error value (that is, 0 or the empty string). For a column defined as ENUM('a','b','c'), values such as '', 'd', and 'ax' are illegal and are rejected. A SET value must be the empty string or a value consisting of one or more of the values listed in the column definition separated by commas. For a column defined as SET('a','b','c'), values such as 'd', and 'a,b,c,d' are illegal and are rejected.