Error Code: 1067 - Invalid default value for ‘xxx’ 如果是想在建表的时候添加默认值 mysql数据库版本必须 >= 5.7 – 本人 5.5 版本报出的错误换 5.7 之后就好了