Skip to content

Commit f5ee7e2

Browse files
author
Sam Kleinman
committed
minor: addition to mongodb windows install tutorial
2 parents d9a984d + 46dda46 commit f5ee7e2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

source/tutorial/install-mongodb-on-windows.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,18 @@ Run all of the following commands in :guilabel:`Command Prompt` with
257257

258258
net start MongoDB
259259

260+
.. note::
261+
262+
If you wish to use an alternate path for your :setting:`dbpath`
263+
specify it in the config file (e.g. ``C:\mongodb\mongod.cfg``) on
264+
that you specified in the :option:`--install <mongod.exe --install>`
265+
operation. You may also specify :option:`--dbpath <mongod --dbpath>`
266+
on the command line; however, always prefer the configuration file.
267+
268+
If the :setting:`dbpath`` directory does not exist,
269+
:program:`mongod.exe` will not be able to start. The default value
270+
for :setting:`dbpath` is ``\data\db``.
271+
260272
Stop or Remove the MongoDB Service
261273
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262274

0 commit comments

Comments
 (0)