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