Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23106

issue to add user

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL

    Description

      i have added user the below query

      db.addUser({
          user: "travel",
          pwd: "h3rm3s123",
          roles: [{
              role: "readWrite",
              db: "admin"
          }]
      })
      

      the try it below query it is getting error kindly advice me

      > db.auth('travel', 'h3rm3s123')
      Error: 18 { ok: 0.0, errmsg: "auth failed", code: 18 }
      0
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            baskar_lak BASKAR
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: