I am using MariaDB 5.5, and created table schema as below:
CREATE TABLE `tasks` (
`taskid` bigint(20) NOT NULL auto_increment,
`status` bigint(20) NOT NULL default 0,
PRIMARY KEY (`taskid`),
KEY `status` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
SET character_set_client = @saved_cs_client;
I want to start my taskid from 10 by default(As configured AUTO_INCREMENT=10), however if I insert any row, it is starting from 1. Do I need to perform any other configuration ?
This is working for me if engine type is MyISAM. And I am not trying to reset the counter, I am trying to start it from 10 only.