몽고 버전 6.xx - admin 계정 생성mongoshuse admindb.createUser({ user: 'root', pwd: 'admin1234', roles: [{ role: 'root', db:'admin'}]}) - user 계정생성mongosh -u root -p admin1234use userDbdb.createUser({ user: 'xxx', pwd: 'xxx1234', roles: [{ role: 'readWrite', db:'userDb'}]}) show users