I installed MongoDB to run as a Windows Service on Win 7 and everything runs well. However, when I attempt to use the command --directoryperdb, it does not recognize this command.
Does anyone know how to resolve this issue?
I installed MongoDB to run as a Windows Service on Win 7 and everything runs well. However, when I attempt to use the command --directoryperdb, it does not recognize this command.
Does anyone know how to resolve this issue?
A couple of issues which come to mind that may or may not help you:
Are you using 1.3.2 or later?
--directoryperdb
Specify use of an alternative directory structure, in which files for each database are kept in a unique directory. (since 1.3.2)
Does it work without this argument as a service, and/or with the argument whilst not running as a service? Have you checked permissions for the user the service is running under?