Т
https://stackoverflow.com/a/14346910/8859805
Size: a a a
Т
DL
Т
VP
UserNotFound: Could not find user "admin" for db "admin"x
UserNotFound: Could not find user "admin" for db "admin"Т
Т

Т
N
Т
N
N
Т
DS
2020-04-29T10:29:49.232+0200 I STORAGE [initandlisten] ** WARNING: mongod started without --replSet yet 1 documents are present in local.system.replset
2020-04-29T10:29:49.232+0200 I STORAGE [initandlisten] ** Restart with --replSet unless you are doing maintenance and no other clients are connected.
db["system.replset"].remove({})
WriteResult({
"writeError" : {
"code" : 13,
"errmsg" : "not authorized on local to execute command { delete: \"system.replset\", ordered: true, lsid: { id: UUID(\"4f008daf-42eb-469a-9ca8-d5ab3bb6203e\") }, $db: \"local\" }"
}
})
Пробовал сделать свою роль с возможностью делать remove в этой базе (local). Но так тоже нельзя (не дает создать такую роль)N
DS
Т

DS
Returns: A document containing:
A boolean acknowledged as true if the operation ran with write concern or false if write concern was disabled
An array of _id for each successfully inserted documents
N
Т