-
Notifications
You must be signed in to change notification settings - Fork 1.5k
-
I have properly set all the configurations for Laravel .env and database.php
Also ran db with mongod
at the terminal w/ admin privilege.
What am I missing here?
.env
DB_CONNECTION=mongodb
DB_HOST=127.0.0.1
DB_PORT=27017
DB_DATABASE=homestead
DB_USERNAME=
DB_PASSWORD=
database.php
'mongodb' => [
'driver' => 'mongodb',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', 27017),
'database' => env('DB_DATABASE', 'homestead'),
'username' => env('DB_USERNAME'),
'password' => env('DB_PASSWORD'),
'options' => [],
],
How is my database not properly configured?
I'm sure that this is more on db issues since it indicates not properly configured
rather than not configured
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment