mysql ERROR 1364: 1364: Field 'mname' doesn't have a default value我的系统是苹果os系统,我用的是mysql workbench,在插入数据的时候总会出现ERROR 1364: 1364: Field 'mname' doesn't have a default value请问我应该怎么解决

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/01 09:01:23

mysql ERROR 1364: 1364: Field 'mname' doesn't have a default value我的系统是苹果os系统,我用的是mysql workbench,在插入数据的时候总会出现ERROR 1364: 1364: Field 'mname' doesn't have a default value请问我应该怎么解决
mysql ERROR 1364: 1364: Field 'mname' doesn't have a default value
我的系统是苹果os系统,我用的是mysql workbench,在插入数据的时候总会出现
ERROR 1364: 1364: Field 'mname' doesn't have a default value
请问我应该怎么解决

mysql ERROR 1364: 1364: Field 'mname' doesn't have a default value我的系统是苹果os系统,我用的是mysql workbench,在插入数据的时候总会出现ERROR 1364: 1364: Field 'mname' doesn't have a default value请问我应该怎么解决
mname要有一个默认值,在数据库里的mname加一个0或null