Hello,
I am struggling to execute the command to create the user in the terminal. As per me, the following command is correct
db.createUser( { user: "m103-application-user", pwd: "m103-application-pass", roles: [ { db: "applicationData", role: "readWrite" } ] })
But it is giving me an error in bash, stating syntax error near unexpected token `{’. Please advise.