Laravel migration table not found

I am trying to recover a project after a failed hard drive. Lost information about mysql, so just enter the project code.

I was hoping I could get my database back using artisan migrate, but the error message tells me:

database.migrations doesn't exist

Is there a way to use my Laravel code files and command line to restore my database as follows?

Thanks for the help.

+3
source share
2 answers

I needed to execute the command:

php artisan migrate:install

(I actually had more problems than the setup of mysql was confused. I don’t know if it can just touch php artisan migrate: install, but I add it as an answer in any case have similar problems)

+10
source

Change the .env file DB_HOSTto127.0.0.1

-3
source

All Articles