diff --git a/source/tutorial/install-mongodb-on-windows.txt b/source/tutorial/install-mongodb-on-windows.txt index 975ebc9bef8..fe4d592b10b 100644 --- a/source/tutorial/install-mongodb-on-windows.txt +++ b/source/tutorial/install-mongodb-on-windows.txt @@ -250,6 +250,16 @@ Run all of the following commands in :guilabel:`Command Shell` with :setting:`logpath` setting or the :option:`--logpath ` run-time option. +.. note:: + + If you had specified alternate path for \data\db, please provide dbpath option when installing + + .. code-block:: powershell + + C:\mongodb\bin\mongod.exe --config C:\mongodb\mongod.cfg --dbpath d:\test\mongodb\data --install + + else you may see error in starting service like "System error 1067 has occurred" + .. TODO fix --install link once mongod.exe manual page exists. #. To run the MongoDB Service: