mysql语句错误(更新中)

来源:互联网 发布:少爷的喜欢lofter乐乎 编辑:程序博客网 时间:2024/04/29 20:54

Error Code: 1063. Incorrect column specifier for column 'username'

这是因为:

auto_increment columns must be integer type (TINYINT, SMALLINT, INTEGER, or BIGINT)

自动增长的主键应该使用整型,把auto_increment去掉就可以了。


mysql清除table数据的sql语句:truncate table stduents;



0 0
原创粉丝点击