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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -