Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Database is not properly configured. #2537

Unanswered
jamols09 asked this question in Q&A
Discussion options

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' => [],
 ],

image
image

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

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #2536 on May 09, 2023 13:36.

AltStyle によって変換されたページ (->オリジナル) /