June 2014
Intermediate to advanced
696 pages
38h 52m
English
Once you have installed MongoDB, you need to be able to start and stop the database engine. You start it by executing the mongod executable (mongod.exe on Windows) at <mongo_install_location>/bin. This executable starts MongoDB and begins listening for database requests on the configured port.
You can control the mongod executable by setting several different parameters. For example, you can configure the IP address and port that MongoDB listens on, as well as logging and authentication. Table 12.1 provides a list of some of the most commonly used parameters.
Table 12.1 mongod command-line parameters
Here’s an example of starting ...
Read now
Unlock full access