alter table tablename auto_increment=NUMBER;
例子:修改 test_user 库 user 表 auto_increment为 10000
mysql> alter table test_user.user auto_increment=10000; Query OK, 0 rows affected (0.12 sec) Records: 0 Duplicates: 0 Warnings: 0mysql> select auto_increment from information_schema.tables where table_schema='test_user' and table_name='user'; +----------------+(北联网教程,专业提供视频软件下载)
……