Support the ongoing development of Laravel.io →
Installation
Last updated 2 years ago.
0

Is there actually any migrations to migrate?

Last updated 8 years ago.
0

Actually I have replaced with a fresh dB in the ".env" file of new copied project. Is there any other place the dB is referenced?

Thanks Bala

0

Config/Database.php

0

Config database values are picked up from env file, anything to do with cache?

0

so the obvious things would be:

  1. database exists?
  2. config/db is correct? ie username/database/connection
  3. migrations exist?
0

@shez1983, sorry for the delay.

  • .env file has new empty DB
  • config database entries are correct
  • migration does exist

Thanks, Bala

0

I think the problem is with the env only, not loading for copy of the project. I can see many posts like this, so far no proper reply from Laravel.

People are using Apache to set env configs.

0

Working now, problem with env cache.

php artisan config:cache
0

Sign in to participate in this thread!

Eventy

Your banner here too?

kumarbalap kumarbalap Joined 15 Dec 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.