Location of the mongodb database on mac
问题 I am kind of new to mac as well as mongodb. I have a weird doubt, accessing the database created using mongodb on mac? I know, in windows there is a folder called c:\data\db, where my database files are stored. How and where in mac, the database is stored. I remember doing something like sudo mkdir -p /data/db sudo chown `id -u` /data/db to create such a folder on mac, but I didn't find any database file in this folder, though i created a database. Where are the database files saved on mac?