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