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

Different database to connection string #11

Open
jamescrosswell opened this issue Aug 27, 2013 · 0 comments
Open

Different database to connection string #11

jamescrosswell opened this issue Aug 27, 2013 · 0 comments

Comments

@jamescrosswell
Copy link

When using Mongo with authentication, you have to connect to the admin database initially. After this you can work with collections in any other databases that you have access to.

I think elmah-mongdb assumes that you want to store the Elmah error logs in the database specified in the connection string though... it would be great if the database could be [optionally] configured separately though so that one database (the admin database) was used to establish the connection to MongoDB but another database was used for error logs.

Cheers,
James

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

1 participant