MySQL [xxx_mall]> alter table shop_base_info AUTO_INCREMENT=11000;
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
MySQL [xxx_mall]> SELECT
-> auto_increment
-> FROM
-> information_schema.`TABLES`
-> WHERE
-> table_name = 'shop_base_info';
+----------------+
| auto_increment |
+----------------+
| 11001 |
+----------------+
1 rows in set (0.00 sec)
PS: 如果數據不足11000條,不影響前面的數據 ; 如果數據大於11000,則設置無效
