How to start auto increment value from certain value in mysql or Change default value for auto increment field mysql table
Q> How to start auto increment value from certain value in mysql ??
or
Change default value for auto increment field mysql table
Solution 1: Execute query: ALTER TABLE TABLE_NAME AUTO_INCREMENT = 2000;
Solution 2: From Picture
- Go to localhost/phpmyadmin
- Select your database and table. At top right: click on "Operations".
- Then you can see AUTO_INCREMENT field. Just change it. Default is 1.
Tag: auto increment, value, change default, new start, point mysql, phpmyadmin,
Comments
Post a Comment