File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -257,6 +257,18 @@ Run all of the following commands in :guilabel:`Command Prompt` with
257
257
258
258
net start MongoDB
259
259
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
+
260
272
Stop or Remove the MongoDB Service
261
273
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262
274
You can’t perform that action at this time.
0 commit comments