Failed to read auto-increment value from storage engine

今天在使用php artisan db:seed进行填充1000条数据时,出现如下错误Failed to read auto-increment value from storage engine

原因: 自增字段设置外tinyint 长度为3

解决方法:自增字段修改为int

原文地址:https://www.cnblogs.com/shiwaitaoyuan/p/7071299.html