Unknown database in laravel code example Example: SQLSTATE[HY000] [1049] Unknown database php artisan cache:clear php artisan migrate:install