title: mongoDB, could not read from config file -- config in different folder / Uninstall it?
body: <p>I'm very new to MongoDB and Mac in general. I installed mongoDB from the official site with a download package. </p>
  
  <p>For all it's worth, given all the issues I'm having, I'd like to uninstall it and reinstall using Homebrew.  Brew complains that mongoDB is already installed so I'm stuck at the moment.  </p>
  
  <p>From all the tutorials and online search, the config file should be installed in a  /etc/ directory path.  However, my mongodb.conf file is located in a very different file structure.  I get a <code>ERROR: could not read from config file</code> each time I try running <code>mongod</code>.</p>
  
  <p>This is where my config file is located:</p>
  
  <pre><code>/opt/sm/sets/versions/databases/head/mongodb/templates/mongodb.conf
  </code></pre>
  
  <p>How do I either :</p>
  
  <ol>
  <li>Get the current version working (MongoDB shell version: 2.4.6)</li>
  <li>Uninstall mongoDB entirely so I can install it with Homebrew (which seems a lot more straight forward)? </li>
  </ol>
  
  <p>EDIT: I've also tried following this guide with no luck. <a href="http://www.mkyong.com/mongodb/how-to-install-mongodb-on-mac-os-x/" rel="nofollow">http://www.mkyong.com/mongodb/how-to-install-mongodb-on-mac-os-x/</a>
  Thanks</p>