0
I have a project in Laravel
, but for a specific reason I had to uninstall XAMPP and install again.
Now I can’t remember what to change in the XAMPP configuration files to make the project run.
I’ve already changed the project path in the xampp httpd file, but it doesn’t run.
Trying to run php Artisan migrate command gives error following:
[Illuminate Database Queryexception] SQLSTATE[HY000] [1049] Unknown database 'sgpmehos_bd' (SQL: select * from
permissions
) [Pdoexception] SQLSTATE[HY000] [1049] Unknown database 'sgpmehos_bd' C: Users Lucas Dropbox TCC Vagrant www html TCC patrimonio>php Artisan migrate [Illuminate Database Queryexception] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sgpmehos_bd.Permissions' doesn’t exist (SQL: select * frompermissions
) [Pdoexception] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sgpmehos_bd.Permissions' doesn’t exist
Does anyone have any guidance?
The error of
artisan
is bank not found, bank missing (sgpmehos_bd
), that bank exists ?– novic
Yes, Virgilio. This database exists. I created the database, but running this command gives error.
– Lucas Augusto Coelho Lopes