Hello, I’m getting an error message I do not understand (“Error parsing YAML config file: yaml-cpp: error at line 16, column 7: illegal map value”).
I ran this in the terminal
"sh-4.4# mongo --port 27000 -u "m103-admin" -p "m103-pass" --authenticationDatabase "admin"
And I ran this in the config
storage:
dbPath: /var/mongodb/db
net:
bindIp: localhost
port: 27000
security:
authorization: enabled
systemLog:
destination: file
path: /var/mongodb/logs/mongod.log
logAppend: true
processManagement:
fork: true
use admin
db.createUser( {
user: "m103-application-user", // this line causes the error.
pwd: "m103-application-pass",
roles: [ { db: ‘applicationData’, role: ‘readWrite’ } ] } )