SQLSTATE[HY000] [1049] Unknown database 'laravel' | How to fix Laravel Errors

preview_player
Показать описание
In this lesson, we learn how to fix the different types of errors that you might get in Laravel. In this lesson we will fix the following error:

- SQLSTATE[HY000] [1049] Unknown database 'laravel'
- SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected

#Laravel
#LaravelErrorFix
#UnknownDatabase
Рекомендации по теме
Комментарии
Автор

I get this particular error when i change the db_connection from sqlite to mysql. and i want to use mysql, please help

JJ_ADLER
Автор

Hi, I'm getting this error when I try to use "php artisan migrate". This is the error: SQLSTATE[HY000] [1049] Unknown database 'market' (SQL: select * from information_schema.tables where table_schema = market and table_name = migrations and table_type = 'BASE TABLE')

Do you have any suggestions on how to fix this? Thank you!

mus
Автор

Thank you so much for the videos. Can you help with errorcode 419 on hosting server... on local...all the forms work well.

bukolajeboda
Автор

what did u do ?
you just showing the issue, bu notthing fixed

magpro