Thursday, 28 November 2013

MongoDB Environment

To start a mongodb, following are the commands:

Command used to start the mongod.exe is running for connections,

C:\Mongo\mongodb-win32-x86_64-2008plus-2.4.8\bin>mongod.exe --dbpath "c:\Mongo\data"

Command to run the mongodb,

C:\Mongo\mongodb-win32-x86_64-2008plus-2.4.8\bin>mongo.exe

No comments:

Data Sharing

  1. Create Share CREATE SHARE my_share; 2. Grant privileges to share GRANT USAGE ON DATABASE my_db TO SHARE my_share; GRANT USAGE ...