Mysql Field * doesn't have a default value解决方法
MySQL 5中,出现错误提示:<br />Field 'id' doesn't have a default value<br /><br />解决方法一:<br /><br />打开my.ini,查找<br />sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"<br /><br />修改为<br /><br />sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITU
转载
2010-11-17 09:55:00 ·
3503 阅读 ·
0 评论