How to install mongodb in windows

               STEPS

  1. install software from the official site
  2. in C drive ⇒programs files⇒mongoDB⇒server⇒3.2⇒bin⇒ (right place,lets say)
  3. at the right place, shift+right click⇒open command window here⇒mongod
  4. again go to' c drive' and make a new folder name it as 'data' :inside data ,make a new folder name it as 'db'
  5. now goto 'right place' and open command prompt⇒type mongo⇒it will show connecting to test:  ⇒type 'db' it will show 'test'
  6. set path of mongod   [  goto my computer⇒properties⇒advance system setting ⇒ environment variable⇒   system variable⇒path⇒edit that goto its end (without deleting earlier content) put a semicolon and paste the address of 'right place' {you would  click three times ok before complete exit} ]
  7. an important one:: now open command prompt different from the right place that is now through control panal ⇒type mongod⇒display message connection to port 27017.
  8. Download mongo chef
  9. open command prompts from control panal ⇒mongod
  10. inside mongo chef click connect⇒ enter name of connection ⇒connect.
  11. click on intel sell and write your query..
thank you

No comments:

Post a Comment