writer
544
edits
Line 140: | Line 140: | ||
e. Create an admin user | e. Create an admin user | ||
In the shell windows type: ''use admin'' | |||
Then the following command will create an administrator user for MongoDB, which is mandatory. You will be able to create standard ReadOnly or Write access user using Monitoring dedicated M-DBTools. | |||
In this example the admin user created is named “oros” and his password is “oros”, please use a strong password for the admin user: | |||
''db.createUser({ user: "oros" , pwd: "oros", roles: ["userAdminAnyDatabase", "dbAdminAnyDatabase", "readWriteAnyDatabase"]})'' | |||
[[File:Picture5.png|400px]] | |||
Restart the computer, and now MongoDB is configured and ready to be used. | |||
=====Installation on Linux system===== | =====Installation on Linux system===== |