CmdID

CmdID / Commands

mongod

The MongoDB database server. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Specify the storage directory (default: /data/db on Linux and macOS, C:\data\db on Windows)

mongod --dbpath path/to/directoryIdentify

Specify a configuration file

mongod --config path/to/fileIdentify

Specify the port to listen on (default: 27017)

mongod --port portIdentify

Specify the database profiling level. 0 is off, 1 is only slow operations, 2 is all (default: 0)

mongod --profile 0Identify