U
U
Username2015-04-22 20:26:20
PHP
Username, 2015-04-22 20:26:20

How to set up auto_increment in phpMyAdmin?

Good evening! auto_increment in phpMyAdmin works well, I would say properly, but as soon as I delete a line, when new information is entered, auto_increment assigns the next id at the moment when the previous (deleted) ID is free. How to fix such a defect and fill in free id?
b6d778ca5cea47a19698901e4de10242.PNG

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
IceJOKER, 2015-04-22
@dalv_happy

and NAFIGA?
Do you think there is not enough space?
And if you still haven't changed your mind - befused.com/mysql/reset-auto-increment

E
elailasou, 2015-04-23
@junk1114

This is normal behavior. The id field should only be used as a row identifier.
And if you want to make a beautiful output of numbers in order, say in a table, make a query like this:
select id, @i:[email protected]+1 as beauty_number from table

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question