vendredi 6 mars 2015

MongoDB YAML Configuration File Problem


I am trying to install MongoDB 3.0 as a windows serverice on Windows Server 2008 however I get that error.



Error parsing INI config file: unknown option storage.engine try 'e:\mongodb3\bin\mongod.exe --help' for more information



But my configuration file is YAML formatted.


My configuration file:



storage:
dbPath: "E:/mongodb3/data/"
engine: "wiredTiger"
systemLog:
destination: file
path: "E:/mongodb3/log/mongodb.log"
logAppend: true
net:
port: 29000


Also I have tried to start mongodb with mongod.exe --config e:\mongodb3\mongod.cfg command and it was working correctly.


I didn't find what is my mistake.





Aucun commentaire:

Enregistrer un commentaire