#1075-Incorrect table definition;there can be only one auto column and it must be defined as a key
在使用Navicat for MySQL建表时出现#1075-Incorrect table definition;there can be only one auto column and it must be defined as a key这样的问题。这个错误是:表定义不正确;只能由一个自动列,必须将其定义为主键。mysql建表时如果要设置自动递增,必须要是逐渐设置才行,且不能为零只能设置一个。所以出现这样的问题,检查建表语句,如果设置了自增,需要将自增字段设置为主键。...