MySql——Failed to read auto-increment value from storage engine

在这里插入图片描述
长度为 11,设置自增和自增起始值:

alter table user_list AUTO_INCREMENT=10000000000;

增加测试数据,出现:
在这里插入图片描述
解决思路:

数据长度为 11,定义自增初始值为 1000000000(9个0),正常。
此项报错为数据库字段数超长引起的。

猜你喜欢

转载自blog.csdn.net/qq_38322527/article/details/106468272