Skip to content

Different database to connection string #11

@jamescrosswell

Description

@jamescrosswell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions