Remove MongoDB Database from terminal
mongo DB_NAME --eval 'db.dropDatabase();'
A remote host:
mongo hostip/DBNAME --eval 'db.dropDatabase();'
Written by Michel Wilhelm
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mongodb
Authors
dominikgarber
81.15K
sativaware
80.22K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#