adminMongo icon indicating copy to clipboard operation
adminMongo copied to clipboard

Error creating database: MongoError: not authorized on titi to execute command { insert: "test", ordered: true, $db: "titi" }

Open davidquintard opened this issue 4 years ago • 0 comments

Hello, I get following error: Error creating database: MongoError: not authorized on titi to execute command { insert: "test", ordered: true, $db: "titi" }

app.json:


    "app": {
            "host": "localhost",
            "port": 4321,
            "password": "xxx",
            "locale": "en",
            "context": "pangoria",
            "monitoring": false
    }
}

config.json:

{
  "connections": {
    "default": {
      "connection_string": "mongodb://admin:xxx@localhost",
      "connection_options": {
        "authSource": "admin"
      }
    }
  }
}

David

davidquintard avatar Aug 27 '20 14:08 davidquintard