I got the same error and fixed it with:
1) mkdir c:\data
2) cd data
3) mongod -dbpath .
4) Now in another command window I was able to connect from my client using the mongo
command.
More Related Contents:
- MongoDB: Combine data from multiple collections into one..how?
- MongoDB: Is it possible to make a case-insensitive query?
- MongoDB: count the number of items in an array
- How to remove a field completely from a MongoDB document?
- Multiple join conditions using the $lookup operator
- Aggregate $lookup Total size of documents in matching pipeline exceeds maximum document size
- Understanding MongoDB BSON Document size limit
- MongoDB – admin user not authorized
- How can I run MongoDB as a Windows service?
- Mongo complex sorting?
- MongoDB: update every document on one field
- multiple instances of Mongo DB on same server
- MongoDb shuts down with Code 100 [closed]
- Mongodb Query To select records having a given key
- MongoDB sort documents by array elements
- MongoDB won’t start after server crash
- How does sorting with an index work in MongoDB?
- How to use dot in field name?
- Docker: change folder where to store docker volumes
- What is the maximum number of parameters passed to $in query in MongoDB?
- How to organise a many to many relationship in MongoDB
- Mongodb aggregation pipeline how to limit a group push
- MongoDB.service failed with result exit-code
- How can I sort a Meteor collection by time of insertion?
- How to do pagination using range queries in MongoDB?
- MongoDB Single Document size limit is 16MB
- Export mongodb aggregation framework result to a new collection
- mongodb aggregate query isn’t returning proper sum on using $sum
- MongoDB aggregate by field exists
- MongoDB {aggregation $match} vs {find} speed