Commit 7901089b by ansible

Create Notification_Center database on Mongo

1 parent 770848a3
Showing with 28 additions and 0 deletions
use admin
db.auth("root", "Fi'iy[0eoe")
db.dropUser("wdobject")
db.createUser(
{
user: "wdobject",
pwd: "BBKaQWZpX43qN2Rn",
roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
}
)
use notification_center_db
db.dropUser("mongoapp")
db.createUser(
{
user: "mongoapp",
pwd: "mOng0@pp",
roles: [ { role: "dbAdmin", db: "notification_center_db"},{ "role" : "readWrite", "db" : "notification_center_db" }]
}
)
use config
db.dropUser("mongoapp")
db.createUser(
{
user: "mongoapp",
pwd: "mOng0@pp",
roles: [ { role: "dbAdmin", db: "config"},{ "role" : "readWrite", "db" : "config" }]
}
)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!