Skip to content

Fix setup instruction #1567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

ericphamhoang
Copy link

Setup instruction should be

'database' => env('DB_DATABASE')

not 'database' => 'admin'

Copy link

@Giacomo92 Giacomo92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very useful one. After the upgrade to mongo3 I spent a lot of time to fix this issue

@Smolevich
Copy link
Contributor

Smolevich commented Jan 20, 2020

Mongodb has differents databases for authentication and using as source database
See docs
For example:
mongodb://myDBReader:D1fficultP%[email protected]:27017/test?authSource=admin

@Giacomo92
Copy link

Maybe the best choice is:
DB_AUTH @Smolevich

@divine
Copy link
Contributor

divine commented Jan 20, 2020

This needs to be closed but merged in #1917

@Smolevich
Copy link
Contributor

Duplicate, main functionality realized in #1917

@Smolevich Smolevich closed this Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants