sql: alter table 表名 auto_increment=数字
alter table sysuser_account auto_increment=45; //设置sysuser_account表从45开始自增
查看自增:
SELECT Auto_increment FROM information_schema.TABLES
WHERE Table_Schema=‘数据库名’ AND table_name = ‘表名’ limit 1
SELECT Auto_increment FROM information_schema.`TABLES` WHERE Table_Schema='vfone' AND table_name = 'sysuser_account' limit 1;