|
@@ -1,7 +1,5 @@
|
|
// run this script with $ mongo < init_mongo.js
|
|
// run this script with $ mongo < init_mongo.js
|
|
|
|
|
|
-use pwmantest
|
|
|
|
-
|
|
|
|
db.createUser({user: "tester", pwd: "12345678",
|
|
db.createUser({user: "tester", pwd: "12345678",
|
|
roles: [{role: "dbAdmin", db: "pwmantest"},
|
|
roles: [{role: "dbAdmin", db: "pwmantest"},
|
|
{role: "readWrite", db: "pwmantest"},]
|
|
{role: "readWrite", db: "pwmantest"},]
|