Reputation: 255
I have a project developed in laravel. Now i wanted to create another project in laravel so i copied all to new directory and changed database in env file. Porject in running but database is not changed. It is showing old projects database values. Any mistake i did ??
Upvotes: 0
Views: 142
Reputation: 8338
php artisan config:cache
When you make changes in the env file you must configure your cache so the changes are loaded otherwise you load the old ones.
Upvotes: 2