Mongo DBWindows Install
Mongo DBWindows Install
Click Next
3. Accept the terms in the License Agreement and select Next
4. Select Complete
5. Select Install
6. Wait until you get the finish screen
7. Click Finish
8. Create folders in C drive: data>db
9. Add below path in the environment variable
10. Navigate to C:> ProgramFiles>MongoDB>Server>3.0>bin
11. Right click and run as administrator: Start the mongo db server
Once you start the server you will see a command prompt saying (1 connection now open)
12. Start the mongo db database: Right Click on Mongo and run it as administration
Once your database is started , it will be connected to the test database by default
Use command: show dbs it will show you all dbs
MongoDB stores data in the form of Documents, which are JSON-like field –value pairs.
Mongo DB Documents are called BSON documents: (Binary representation of JSON) with
additional type information.
MongoDB stores all documents in collections. A collection is a group of related documents that
have a set of shared common indexes. Collections are analogous to a table in relational
databases.