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(); 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 – $or operator mongoDB – Upserts – insert or update a document mongoDB – import a CSV file in a database collection Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Website This site uses Akismet to reduce spam. Learn how your comment data is processed.