
数据库建表时出现错误
数据库建表时出现错误1064youhaveanerrorinyoursqlsyntax;checkthemanualthatcorrespondstoyourMySQLs...
数据库建表时出现错误1064 you have an error in your sql syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NULL, PRIMARY KEY ('id'))'at line 8
展开
2个回答
展开全部
检查约束有问题吧
看看你的主键
主键名 类型 primary key (声明主键) not null 主键不可以为空
希望能帮到你
看看你的主键
主键名 类型 primary key (声明主键) not null 主键不可以为空
希望能帮到你
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询