表的基本信息都保存在information_schema数据库的tables表中
select auto_increment from information_schema.tables where table_schema='db name' and table_name='table name';
alter table table_name auto_increment=new value
表的基本信息都保存在information_schema数据库的tables表中
select auto_increment from information_schema.tables where table_schema='db name' and table_name='table name';
alter table table_name auto_increment=new value