Last Updated: February 25, 2016
·
642
· michelwilhelm

Remove MongoDB Database from terminal

mongo DB_NAME --eval 'db.dropDatabase();'

A remote host:
mongo hostip/DBNAME --eval 'db.dropDatabase();'