Skip to content
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

support mongo 3.6++ #94

Open
cescoferraro opened this issue Feb 15, 2019 · 1 comment
Open

support mongo 3.6++ #94

cescoferraro opened this issue Feb 15, 2019 · 1 comment

Comments

@cescoferraro
Copy link

I have issues trying to authenticate with the database using version > 3.4.9

Db.prototype.authenticate method will no longer be available in the next major release 3.x as MongoDB 3.6 will only allow auth against users in the admin db and will no longer allow multiple credentials on a socket. Please authenticate using MongoClient.connect with auth credentials.

@nrobert13
Copy link

I'm using mongo:4.0 and getting the same warning, but it works. It would be nice to implement the new method to avoid the flood of warning. Something like: Automattic/mongoose#5304

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants