Skip to content

Commit

Permalink
11
Browse files Browse the repository at this point in the history
  • Loading branch information
dianbaer committed Mar 10, 2018
1 parent 017bd74 commit 02f61fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongodb/createdb.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mongo --host 172.27.108.73 --eval 'db = db.getSiblingDB("test");db.createUser({user: "test",pwd: "test",roles: [ "readWrite", "dbAdmin" ]})'
mongo --host 127.0.0.1 --eval 'db = db.getSiblingDB("test");db.createUser({user: "test",pwd: "test",roles: [ "readWrite", "dbAdmin" ]})'

0 comments on commit 02f61fe

Please sign in to comment.