如何在mysql中使用枚举类型枚举类型在mysql的使用方法:1、插入数据,语法为【insert into my_enum values (1),(2);】;2、错误数据,语法为【insert into my_enum values('male');】。相关学习推荐:m