I just want my mysql table id(primary key) to start from 0..
As I have seen, I used ALTER TABLE yourtable AUTO_INCREMENT =0 but it starts from 1..What is that I need
You cannot force this to be zero. This is limited by auto_increment_offset server variable. The default value is 1, the range is [1 .. 65535].
More information: auto_increment_offset, How to set AUTO_INCREMENT step.