There is a way to manually insert the identifier even in the autoinc table. All you have to do is identify the missing identifier.
However, do not do this. This can be very dangerous if your database is relational. The remote identifier may have been used elsewhere. When it is removed, it does not present a big problem, perhaps it will lead to an orphan recording. If it is replaced, it will cause a huge problem because the wrong attitude will be present.
Please note that I have a car table and a people table
car carid ownerid name person personid name
And that there is some simple data
car 1 1 Van 2 1 Truck 3 2 Car 4 3 Ferrari 5 4 Pinto person 1 Mike 2 Joe 3 John 4 Steve
and now I delete the man John.
person 1 Mike 2 Joe 4 Steve
If I added a new person, Jim, to the table, and he received an identifier that filled in the blank, then he would finish getting id 3
1 Mike 2 Joe 3 Jim 4 Steve
and by ratio, will be the owner of a Ferrari.
source share