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 $unset operator in mongoDB mongoDB – Index Size mongoDB – $all operator Leave a Reply Cancel replyYour 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.