alter table user_table MODIFY user_id INT UNSIGNED AUTO_INCREMENT;
mysql 定义自增
原文:http://www.cnblogs.com/cyh2009/p/5419779.html