I restored a DB in my local machine but I made a mistake and put an extra space between -d
flag and DB name. command I used looks like this
mongorestore -d NHM-local NHM-db-prod/
so the database that was created also had an extra space
and now I am unable to connect to this DB via mongoose and nodeJS or DROP this via mongoDB Compass
putting space while dropping this database makes no difference.
please suggest me some way to drop this DB.