Tag Archives: Drop Database

MongoDB Drop Database

In this post, We will learn How to delete the existing mongo database. MongoDB shell command `db.dropDatabase()` is used to drop an existing database and their associated data files. It will block other operations While dropping a database. The basic syntax for deleting a database is Syntax: db.dropDatabase() This command will drop the currently selected […]