MongoDB delete Database

To delete a database in MongoDB, run

mongo
use DBNAME
db.dropDatabase()
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *