Query to Re-index Primary Key of MySQL Database

前端 未结 3 1164
没有蜡笔的小新
没有蜡笔的小新 2020-12-23 21:44

I\'ve got a table in MySQL that has a Primary Key Column.

Lets say:

ID | Value
1  | One
2  | Two
6  | Three
8  | Four
9  | Five

How

3条回答
  •  天命终不由人
    2020-12-23 22:15

    I did this in phpmyadmin by unchecking the A_I box (Auto Increment setting), clicking save, and then checking it again, and clicking save again.

提交回复
热议问题