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

your config/database.php is wrong

env('app') means get the variable 'app' from the env. if you have a variable by this name on the .env file it will be fetched here,

env('DATABASE', 'app') means get the variable called 'DATABASE' from .env if not found use the value 'app'

fix your config file and the .env and check again.

Last updated 8 years ago.
0

That's the solution. Thank you very much, astroanu! Looks like while trying different things I actually damaged the database.php

0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.