ERROR 1049 (42000): Unknown database 'database' code example Example: SQLSTATE[HY000] [1049] Unknown database php artisan cache:clear php artisan migrate:install