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

Fix MongoDB connect 'Database does not support password.' tips #405

wants to merge 1 commit into from


Copy link

@imdong imdong commented Nov 24, 2020

Add MongoDB Drivers func ping.

According to the official document: MongoDB\Driver\Manager::__construct

Note: Per the » Server Discovery and Monitoring Specification, this constructor performs no I/O. Connections will be initialized on demand, when the first operation is executed.

After creating the object, perform any operation to generate I/O connection to verify that the password is correct.

Do not add ping validation to the correct password section to reduce changes to unknown code.

Code reference from document Example #1

Copy link

vrana commented Feb 7, 2021

Thank you so much for tracking this bug down and properly fixing it. Several users reported problems here but it didn't surface with the legacy extension. Merged.

@vrana vrana closed this Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
2 participants