ALTER TABLE users AUTO_INCREMENT=1001;
ALTER TABLE tbname MODIFY COLUMN columname smallint(5) auto_increment
ALTER TABLE foobar AUTO_INCREMENT=10;
ALTER TABLE tbl_access ADD COLUMN `access_id` int(10) NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
SELECT `AUTO_INCREMENT`
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'DatabaseName'
AND TABLE_NAME = 'TableName';