InternalError: (1364, "Field 'id' doesn't have a default value")怎么解決?
自己寫了一下報這個錯誤,復制老師給的代碼也是這個錯誤,求問這個怎么解決
InternalError: (1364, "Field 'id' doesn't have a default value")
自己寫了一下報這個錯誤,復制老師給的代碼也是這個錯誤,求問這個怎么解決
InternalError: (1364, "Field 'id' doesn't have a default value")
2017-05-09
舉報
2017-05-15
這是數(shù)據(jù)庫mysql表字段的設置,id設置為int類型的,自增就行了。我是這樣干的
2017-05-09
id 沒有對應的值 value