Connecting MongoDB
Using Web Browser
Using Command Prompt
Using Web Browser
- HTTP interface for MongoDB Deprecated since version 3.2 :)
Or
Start Mongo from Command:
Error:
'mongo' is not recognized as an internal or external command, operable program or batch file.
Resolution:
Make entry in environment variables as Path:
Check entry in Path:
Then type mongo
Inserting data into database, after inserting it will show in show dbs result:
Until you add some collection in database it will create that database:
After closing command shows error: