If you have a Mac and updated to Catalina or more recent version, then the root folder is no
longer writable.
I just changed the directory somewhere else.
Been using this command for now
mongod --dbpath=/Users/user/data/db
More Related Contents:
- MongoDB can’t find data directory after upgrading to Mac OS 10.15 (Catalina)
- SocketException: Address already in use MONGODB
- 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
- 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
- How to sum every fields in a sub document of MongoDB?
- Where does mongodb stand in the CAP theorem?
- MongoDb shuts down with Code 100 [closed]
- Mongodb Query To select records having a given key
- MongoDB: how to parse date in 3.6 mongoDb version?
- MongoDB – is DBREF necessary?
- saving picture to mongodb
- MongoDB – Querying between a time range of hours
- Delete a key from a MongoDB document using Mongoose
- How to use dot in field name?
- Docker: change folder where to store docker volumes
- (Mac) -bash: __git_ps1: command not found
- What is the maximum number of parameters passed to $in query in MongoDB?
- Mongodb aggregation pipeline how to limit a group push
- brew services. Cant start service. get “Bootstrap failed: 5: Input/output error”
- Map-Reduce performance in MongoDb 2.2, 2.4, and 2.6
- MongoDB count() versus countDocuments()
- Mongo $in operator performance