if you create ill-named database (such as "admin sha" or "*") you can't rmeove them.
How to do it :
use admin sha
db.dropDatabase()
you get :
"errmsg" : "
"
if you try to remove it with a command :
db.runCommand(
)
{ "ok" : 0, "errmsg" : "invalid params" }Creating such ill-named database should be forbidden (spaces in the name) but it should be possible to remove them.
- duplicates
-
SERVER-4584 mongod crashes when trying to create a collection in a database *
- Closed