A
A
anonimizer_me2014-07-26 11:07:11
MongoDB
anonimizer_me, 2014-07-26 11:07:11

How to configure MongoDB in YAML format?

Hello!
There is such a page in the mongo
documentation docs.mongodb.org/manual/reference/configuration-options It describes the mongodb configuration in yaml format. It is written that they support from version 2.6
I have version 2.6.3
> db.version();
2.6.3
If I describe the config in /etc/mongod.conf in YAML format, then the monga simply does not start. The logs contain information about the settings parsing error.
How can I still configure using yaml format?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zed, 2014-07-26
@zedxxx

How can I still configure using yaml format?

Very simple - do not make mistakes in writing the config. Without seeing your config before your eyes, it is simply impossible to say more.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question