Data directory C:\data\db\ not found

@Dirk_Ulrich you need to point to the config file by using something like the following:

mongod -f c:\path\to\mongod.conf

or

mongod --config c:\path\to\mongod.conf

As @Ramachandra_Tummala states, running just mongod, the process will use the default data values.

1 Like