MySQL ID Auto Increment Existing Table

Its about how to auto increment existing table on mysql.

You can use this mysql command via phpmyadmin or desktop mysql apps.

ALTER TABLE tablename ADD id INT PRIMARY KEY AUTO_INCREMENT;

Written by Uğur

Leave a Reply

Your email address will not be published. Required fields are marked *