mongo db not connecting after dropping a collection and making it again code example Example: drop a collection in mongodb db.mycollection.drop()