November 2018
Intermediate to advanced
528 pages
13h 21m
English
Enter the MongoDB cli using the command mongo:
> use explorerdb
Create a user with read/write access:
> db.createUser( { user: "iquidus", pwd: "3xp!0reR", roles: [ "readWrite" ] } )
Note: If you're using mongo shell 2.4.x, use the following to create your user:
> db.addUser( { user: "username", pwd: "password", roles: [ "readWrite"] })
Read now
Unlock full access