HI,
When a non-authorized user is trying to connect to the MongoDB
List of databases:
wfm:PRIMARY> show dbs
admin 0.203125GB
local 1.015625GB
UNIX> mongo -u edik -p edik usatl-s-ssvm41/edik
MongoDB shell version: 2.2.2
connecting to: usatl-s-ssvm41/edik
Error:
Fri Dec 7 16:57:33 uncaught exception: login failed
exception: login failed
The empty database “edik” is created
wfm:PRIMARY> show dbs
admin 0.203125GB
edik (empty)
local 1.015625GB
Is there any way to prevent this?
Thanks,
Edouard
- duplicates
-
SERVER-2329 Dropped database doesn't disappear due to replication
- Closed