I don't have enough comments yet, but to add Arunoda's answer you might want to
use [name of app database]
in front of you
db.dropDatabase()
And if you donβt know what the name is, you can also
show databases
If you used mup, the database will usually be the same name as your application.
source share