Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
mongodb-3.0
-
None
-
Windows 7
Description
On the documentation page:
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
Step 4 titled "Create the MongoDB service" has the wrong command.
The correct command should be:
sc.exe create MongoDB binPath= "\"C:\mongodb\mongod.exe\" --service --config=\"C:\mongodb\mongod.cfg\"" DisplayName= "MongoDB" start= "auto"
(no space after "--config==")
Additionally, the installation instructions would be a lot easier to follow if it doesn't assume that users install MongoDB to "C:\mongodb".
This is because the Windows builds downloaded from the MongoDB website always install to another directory (e.g., "C:\Program Files\MongoDB\Server\3.0") by default.