为什么会报错#1067 - Invalid default value for 'sex'
CREATE TABLE `imooc_user` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(20) NOT NULL,
`password` char(32) NOT NULL,
`sex` enum('男','女','保密') NOT NULL DEFAULT '保密',
`email` varchar(50) NOT NULL,
`face` varchar(50) NOT NULL,
`regTime` int(10) unsigned NOT NULL,
`activeFlag` tinyint(1) DEFAULT '0'
);
为什么会报错#1067 - Invalid default value for 'sex'