mongodb
Differences
This shows you the differences between two versions of the page.
Last revisionBoth sides next revision | |||
mongodb [2017/01/05 06:24] – created felixonmars | mongodb [2017/01/06 07:46] – felixonmars | ||
---|---|---|---|
Line 4: | Line 4: | ||
$ mongo | $ mongo | ||
> db = db.getSiblingDB(' | > db = db.getSiblingDB(' | ||
- | > db.addUser({user: " | + | > db.createUser({user: " |
</ | </ | ||
Line 11: | Line 11: | ||
$ mongo | $ mongo | ||
> db = db.getSiblingDB(' | > db = db.getSiblingDB(' | ||
- | > db.addUser({user: " | + | > db.createUser({user: " |
</ | </ | ||
mongodb.txt · Last modified: 2017/01/06 07:47 by felixonmars