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

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

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

 

posted on 2017-06-23 18:37  shen1hua  阅读(772)  评论(0编辑  收藏  举报