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

Couldn't authenticate with database admin: username [mydbadmin]' in ..... #191

Closed
WouterSioen opened this issue Jul 11, 2013 · 2 comments
Closed

Comments

@WouterSioen
Copy link

When connecting to a secured database, adding the mongodb_options username and password isn't enough. The connection throws an error because it tries to connect to the admin database (which is the default mongodb database).

A temporary fix is adding /dbname after the mongodb_server option but this bundle should handle this automatically when connecting to the server.

More info here: http://stackoverflow.com/questions/12527017/cant-connect-to-a-mongodb-database-user-with-php

@jmikola
Copy link
Member

jmikola commented Jul 11, 2013

@WouterSioen
Copy link
Author

Thanks! This fixed my issue.

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