SELECT AUTO_INCREMENT
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = "databaseName"
AND TABLE_NAME = "tableName"
alter table tablename auto_increment = newvalue
Posted by Luis Romero to Custom Exposure (2014-05-20 01:44)
SELECT AUTO_INCREMENT
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = "databaseName"
AND TABLE_NAME = "tableName"
alter table tablename auto_increment = newvalue