Search code examples
mongodb-compass

See / setup a user with MongoDB Compass?


With MongoDB Compass is it possible to see users for a database or create new ones?


Solution

  • Ive managed it on the command line with:

    mongo
    use (my database name)
    db.createUser( { user: "myuser", pwd: "password", roles: ["readWrite"] })
    

    However I would still much prefer a GUI to do this.