Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4115

db.createUser doesn't work against local database

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.12
    • None
    • manual
    • None

    Description

      This page: http://docs.mongodb.org/manual/reference/method/db.createUser/

      Should note that db.createUser does not work when run against the local database.

      ie.

      use local
      db.createUser( ... )

      The above sequence will fail.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            andrew.ryder@mongodb.com Andrew Ryder (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 19 weeks, 5 days ago