Error configuring mongodb on mac

  mongodb, question

Error:
clipboard.png
Fanlinfeng’s directory:

clipboard.png

Mongodb directory:

clipboard.png

/data/db refers to starting from the root directory
You are the first under the user directory, right
The second is in mongodb directory
You can see it by looking at the pwd in the directory of data/db.