use the correct database name in the DB_DATABASE key code example
Example: Database name seems incorrect You're using the default database name laravel. This database does not exist. Edit the .env file and use the correct database name in the DB_DATABASE key.
php artisan config:cache