10 Jun 2014 Home » MongoDB » MongoDB – Drop a database MongoDB – Drop a database Posted in MongoDB By Maz On June 10, 2014 To drop a database in mongodb We can use “dropDatabase” command. First we need to use the database we want to drop. and then use that command like this. Suppose we have a database named students. >use students; db.dropDatabase(); Tags:drop a database, MongoDB About Author maz Maz is a software engineer, and a Zend Certified Engineer . His area of expertise contains PHP /Mysql, Node JS / MongoDB, Angular JS, IOS and android. Related Posts mongoDB – Update a document in database MongoDB – Sparse Index mongoDB – import a CSV file in a database collection Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment. Δ This site uses Akismet to reduce spam. Learn how your comment data is processed.