Password mongodb

Comments

1 comment

  • Official comment
    Avatar
    Ashraf Sharif

    Hi,

    Could you try with the --authenticationDatabase flag? The command should be:

    mongo --host my_mongodb_0/192.168.55.121:27017 -u admin -p admin --authenticationDatabase admin

    ClusterControl creates an administrator user on "admin" database and login must be authenticated against that database. For more details check out https://docs.mongodb.com/manual/core/security-users/#user-authentication-database . I will update the blog post accordingly.

    Regards,
    Ashraf

    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk