So basically I changed something in a migration in my laravel project and then tried running migrate:refresh and migrate:reset etc but was getting errors with files not found, so I dropped all of the tables in the phpmyadmin database and attempted to re-migrate.
So initially in the CMD it will say 'migration table created successfully' and then will do nothing else for a couple of minutes, after some time the xampp sql connection will close, giving an error 'Error: MySQL shutdown unexpectedly.'
So I restarted the sql server in xampp and checked the database and some of the migrations have run but not all of them, and the number it runs varies, sometimes it will make 7 of the tables, other times 15 but never does it create all of them successfully before the sql server shuts down.
I am working on a project in a team and this issue seems to be affecting only 2 out of 8 of us, for everyone else the migrations run perfectly after dropping all the tables and they have the exact same copy as me as we are using GIT.
I have tried: Reinstalling xampp & composer, re-making every single migration, and re-cloning my repository from bitbucket.
I've asked around at work and no one seems to have seen this error/issue before so any help at all would be greatly appreciated.
Cheers, Sam.