Failed to read auto-increment value from storage engine 诡异的mysql自增无效问题
今天遇到的,ALTERTABLE`gsmc`CHANGE`id``id`BIGINT(19)NOTNULLAUTO_INCREMENTCOMMENT"id备注";执行此语法后插入记录提示Failedtoreadauto-incrementvaluefromstorageengine因为很多表对此表有外键引用,想把自增删掉重建,无法操作,查了很多资料最后执行ALTERTABLEgsmcORDERBY