rt

解决方案 »

  1.   

    create table if not exists test3(id int(11) UNSIGNED not null AUTO_INCREMENT);
      

  2.   

    还是这个:ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must be defined as a key
    我再从网上找找。谢谢楼上。
      

  3.   

    还要把字段id设成键才行,试试这样
    create table if not exists test3(id int(11) UNSIGNED not null AUTO_INCREMENT primary key);