If you are using the auto_increment feature of MySQL and table edits have lead to the value generated being in advance of requirements or just generally adrift you can use the following command to adjust the next auto_increment output value.
ALTER TABLE <table name> AUTO_INCREMENT = <value>
Bear in mind however that it is not possible to put the auto_increment value back to a value less than the current maximum value in the auto_incrementing column so you may need to do some tidying first. You can find the current maximum value using the following command:
SELECT MAX( <auto incrementing column> ) FROM <table name> ;
You can confirm that the change has taken using the following command:
SHOW TABLE STATUS FROM <DB name> WHERE name LIKE '<table name>' ;