I am using laravel 5.1
when i try $ php artisan migrate:install
first time
I have a mysql database "quickstart" with "migrations" table in it.
When i try second time:
$ php artisan migrate:install
(it just hangs)
so i tried
$ strace php artisan migrate:install
i found the following:
.
.
.
poll([{fd=5, events=POLLIN|POLLERR|POLLHUP}], 1, 1471228928) = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "le 'migrations' already exists", 93, MSG_DONTWAIT, NULL, NULL) = 30
brk(0x2ee0000) = 0x2ee0000
mmap(NULL, 401408, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe96b647000
mremap(0x7fe96b647000, 401408, 405504, MREMAP_MAYMOVE) = 0x7fe96279d000
mremap(0x7fe96279d000, 405504, 409600, MREMAP_MAYMOVE) = 0x7fe96b645000
mremap(0x7fe96b645000, 409600, 413696, MREMAP_MAYMOVE) = 0x7fe96279b000
mremap(0x7fe96279b000, 413696, 417792, MREMAP_MAYMOVE) = 0x7fe96b643000
mremap(0x7fe96b643000, 417792, 421888, MREMAP_MAYMOVE) = 0x7fe962799000
mremap(0x7fe962799000, 421888, 425984, MREMAP_MAYMOVE) = 0x7fe96b641000
mremap(0x7fe96b641000, 425984, 430080, MREMAP_MAYMOVE) = 0x7fe962797000
mremap(0x7fe962797000, 430080, 434176, MREMAP_MAYMOVE) = 0x7fe96b63f000
.
.
.
Instead of going into some memory loop and hang why its not showing the message that the table already exists.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire