Just execute mongod.exe --install.
This creates a Service for the MongoDB.
If you ever wish to use a MongoDB as Windows Service and you have some spaces in the path you have to do the following fix.
Start "regedit" and change the entry ImagePath in
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MongoDB from
Program Files (x86)\mongodb-win32-x86_64-1.2.4\bin\mongod.exe --service to
"c:\Program Files (x86)\mongodb-win32-x86_64-1.2.4\bin\mongod.exe" --service.
For further informations:
http://groups.google.com/group/mongodb-user/browse_thread/thread/fde13e7ceb64ac44/a39a7e1b711a6b00?pli=1
Dienstag, 16. März 2010
Abonnieren
Posts (Atom)