0
I’m executing the command:
mongo exec -it mongodb mongo --host localhost -u admin -p 3613 --authenticationDatabase admin --eval "db.getSiblingDB('testando').createUser({user: 'spirit', pw: '3613', roles: [{role: 'readWrite', db: 'testando'}]})"
But I get the mistake:
Error Parsing command line: unrecognised option '-it' Try 'C: Program Files Mongodb Server 4.2 bin Mongo.exe --help' for more information