configuration - Specify special folder in mongodb config -
i specify programdata folder in mongodb configuration file
storage: journal: enabled: true dbpath: "%programdata%/db/" net: bindip: 127.0.0.1 port: 27017 does know way achieve %programdata% substitution doesn't work.
thanks.
to avoid possible confusion or problem, recommend hardcode real path :
storage: journal: enabled: true dbpath: "c:\programdata\db" net: bindip: 127.0.0.1 port: 27017 if not production system, should it. on other hand, if production system recommend linux.
http://docs.mongodb.org/manual/installation/#supported-production
Comments
Post a Comment