-
Notifications
You must be signed in to change notification settings - Fork 0
Authmongo
Cédric Joron edited this page Jul 23, 2013
·
1 revision
In order to use the Authentification service of MongoDB, you need to:
-
Launch the MongoDB Server without Authentification mode, in order to create a user for database.
-
Enter db = db.getSiblingDB("lbe"); to get the LBE Database.
-
Now, we will create user for this database: db.addUser("lbe","password")
And, you need to put the lbe and password information into the LBE settings.py file.
Do not Forget to launch the MongoDB Server with the Authentification Service:
mongodb --dbpath your-db-path-here --auth
Then, you are ready to use the Authentification MongoDB Service.