用php artisan db:seed的时候出现1205 Lock wait timeout exceeded 错误
用homestead2.08 的默认虚拟机,
按照 【Laravel 4 系列入门教程(一)】http://www.golaravel.com/post/ ... rt-1/
一步步来的,在最后一步执行:
php artisan db:seed
的时候出现的问题:
按照 【Laravel 4 系列入门教程(一)】http://www.golaravel.com/post/ ... rt-1/
一步步来的,在最后一步执行:
php artisan db:seed
的时候出现的问题:
[Illuminate\Database\QueryException]
SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restar
ting transaction (SQL: insert into `articles` (`title`, `slug`, `body`, `us
er_id`, `updated_at`, `created_at`) values (Accusantium atque quo qui aut.,
first-post, Dolores perspiciatis vitae reprehenderit eveniet ea. Qui dolor
es aut quia veritatis voluptates quis voluptatem. Ut ducimus commodi volupt
atem ut. Minima distinctio officiis sint blanditiis., 1, 2014-12-10 03:08:3
9, 2014-12-10 03:08:39))
[PDOException]
SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restar
ting transaction
1 个回复
FiveSay - 成武
赞同来自:
http://blog.csdn.net/a43762929 ... 35587