Home >Database >Mysql Tutorial >How to customize mysql primary key id
This article will introduce to you how to customize the mysql primary key id. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.
Execute the following sql statement
alter table user(表名) AUTO_INCREMENT=800008(想要主键id从哪开始);
Related recommendations: "mysql tutorial"
The above is the detailed content of How to customize mysql primary key id. For more information, please follow other related articles on the PHP Chinese website!