"SQLSTATE[HY000] [1049] Unknown database 'laravel' (SQL: select * from `products`)" code example
Example: SQLSTATE[HY000] [1049] Unknown database 'laravel' (SQL: select * from `posts`)"
php artisan cache:clear
php artisan cache:clear