MongoDB Database Error with proper Configuration MongoDB Database Error with proper Configuration mongoose mongoose

MongoDB Database Error with proper Configuration


I killed mongod process in the Activity Monitor. I then removed the lock file and restarted mongodb with mongod --dbpath /data/db --repair, as per the docs. I now see the databases that I had inside of /data/db. I see the collections and databases I created before

I was using the principle of coding small successes, which threw me off. My problem of adding new databases was solved by adding collections, so Mongo would create the database and data in one shot, which is the difference between MySQL and Mongo.