My host came with a mongodb instance and there is no /db directory so now I am wondering what I can do to find out where the data is actually being stored.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
mongoddefaults the database location to/data/db/.If you run
ps -xa | grep mongodand you don’t see a--dbpathwhich explicitly tellsmongodto look at that parameter for the db location and you don’t have adbpathin yourmongodb.conf, then the default location will be:/data/db/and you should look there.