Field ‘id‘ doesn‘t have a default value

Error message: The
Insert picture description here
reason for the error: The new error is not a code problem, mainly because the mysql database table does not implement primary key auto-increment

Solution: select automatically increment
Insert picture description here

Guess you like

Origin blog.csdn.net/jq1223/article/details/113913505