You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: