Skip to content

Use MongoDB as a secondary databases and it is failed to connect. It said "authenticated failed" #2208

Discussion options

You must be logged in to vote

You may change the authSource to your database name.

            'options'  => [
                'authSource' => env('MONGO_DB_DATABASE'),
            ],

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@erakashpatel
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@erakashpatel
Comment options

@GromNaN
Comment options

@erakashpatel
Comment options

@GromNaN
Comment options

Answer selected by GromNaN
@erakashpatel
Comment options

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

This discussion was converted from issue #2207 on February 23, 2021 04:09.