版本
MySQL 5.6.15
提示
Field 'id' doesn't have a default value
解决方法
打开my.cnf
,查找
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
修改为
sql_mode=NO_ENGINE_SUBSTITUTION
MySQL 5.6.15
Field 'id' doesn't have a default value
打开my.cnf
,查找
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
修改为
sql_mode=NO_ENGINE_SUBSTITUTION