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;
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;