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
How to specify --authenticationDatabase
in mongoose?
#3905
Comments
Easiest way is to specify
|
Thanks |
@vkarpov15 you saved my day. Thanks a lot. |
Anybody know how to specify authSource when using mongodump command? :] |
@ORESoftware mongodump calls it |
If For https://www.mongodb.com/docs/manual/reference/connection-string/#components |
Works in the shell:
Fails in mongoose:
So it's save to assume that
authenticationDatabase
needs to be set somehow, maybe in the config parameter. What's the syntax?The text was updated successfully, but these errors were encountered: