It use a different configuration for your database connection.
It is possible that you have run config:cache before changing the .env file. You can try to run php artisan config:clear
and run the migrate command again.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community