adminMongo
adminMongo copied to clipboard
Error creating database: MongoError: not authorized on titi to execute command { insert: "test", ordered: true, $db: "titi" }
Hello, I get following error: Error creating database: MongoError: not authorized on titi to execute command { insert: "test", ordered: true, $db: "titi" }
app.json:
"app": {
"host": "localhost",
"port": 4321,
"password": "xxx",
"locale": "en",
"context": "pangoria",
"monitoring": false
}
}
config.json:
{
"connections": {
"default": {
"connection_string": "mongodb://admin:xxx@localhost",
"connection_options": {
"authSource": "admin"
}
}
}
}
David