XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.4.8
    • Security
    • None
    • Test

    Description

      I am running cluster with --keyFile, the processes starts fine. Then I seParameter userAdminLocalhostAuthDabase=0 and add a new user. After that, I connect to the database with the new user and run an rs.initiate() to initiate the cluster. But when I try to run a query i get this error message:

      {"ok" : 0, "errmsg" : "unauthorized" }

      can some please tell me what I am doing wrong?

      Thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dwayneexec@gmail.com Dwayne Mcnab
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: