0

I installed mongodb in usr/local/mongodb but my data is in my project directory desktop/root/data/db

I want to use mongo shell to look at my data. If I run usr/local/mongdb/bin/mongo will this show me the data in my project/data/db directory? or is there some command I need to run with .../bin/mongo to tell it where my data is?

I tried --dbpath but that didn't work

Abdul Ahmad
  • 9,673
  • 16
  • 64
  • 127

0 Answers0