Backup and restore MongoDB database

In this tutorial, I will guide you all how to backup and restore your MongoDB database. First of all is the backup. We will use the mongodump tool which installed with MongoDB. The syntax for MongoDB database backup is as follows:

Inside: database_need_backup is… Read More

Install MongoDB on macOS

In this tutorial, I will show you all how we can install MongoDB on macOS. First of all, we need to download the MongoDB binary file. To do that, you can go to the download page of MongoDB at https://www.mongodb.com/download-center/community and choose the latest version… Read More

Delete database in MongoDB

In previous tutorial, we known how to create a database in MongoDB. In this tutorial, we will figure out how we can delete a existing database MongoDB! First of all, you must login into MongoDB and choose the database which we need to delete by following command:… Read More