How to install mongodb in windows
STEPS
- install software from the official site
- in C drive ⇒programs files⇒mongoDB⇒server⇒3.2⇒bin⇒ (right place,lets say)
- at the right place, shift+right click⇒open command window here⇒mongod
- again go to' c drive' and make a new folder name it as 'data' :inside data ,make a new folder name it as 'db'
- now goto 'right place' and open command prompt⇒type mongo⇒it will show connecting to test: ⇒type 'db' it will show 'test'
- 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} ]
- 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.
- Download mongo chef
- open command prompts from control panal ⇒mongod
- inside mongo chef click connect⇒ enter name of connection ⇒connect.
- click on intel sell and write your query..
thank you
No comments:
Post a Comment