0% found this document useful (0 votes)
4 views

Mongo DBWindows Install

S

Uploaded by

abdiaberagemechu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Mongo DBWindows Install

S

Uploaded by

abdiaberagemechu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Mongo DB installation document for Windows OS:

Below installation is done on Windows 10:


1. Download msi file from below link:
https://www.mongodb.org/downloads#production

2. Run the msi file

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.

Use dbname  created database e.g. use nisha1

Good resource for learning Mongo DB:


http://www.tutorialspoint.com/mongodb/mongodb_create_collection.htm

Some basic commands to try:


References:
https://docs.mongodb.org/manual/

You might also like