I have a problem with my MySQL Database. I searched for a long time, but there was nothing, which could help me. I have a Database with three columns: id, username and password. For example there are 3 lines in the database.
1, test1, testpw1
2, test2, testpw2
3, test3, testpw3
When I delete line 2, how can I change the id (auto_increment) in the whole database?
Now it would be like this:
1, test1, testpw1
3, test3, testpw3
I want it to be like this:
1, test1, testpw1
2, test3, testpw3
Thanks a lot Jannes