Skip to main content
Version: 2.0.10

Databases

MongoDB Databases page listing databases with their size and the Delete button MongoDB Databases page listing databases with their size and the Delete button

MongoDB databases are used to store and manage your application's document-based data, making it accessible and organized for your applications and services.

On the Databases page, you can view and manage your MongoDB databases.

The page provides a table containing the user's databases, along with options related to them:

  • Databases: Here, you can view database sizes.

Available options on the Databases page are:

  • View Databases
  • Create a new database
  • Delete a MongoDB Database

System databases (admin, local, config) are never shown in the table and cannot be created, imported into, or deleted through OpenPanel.

Create a MongoDB Database

To create a new MongoDB database, click on the "New Database" button and fill in the name of the new database.

Create a MongoDB Database form with the database name field Create a MongoDB Database form with the database name field

MongoDB has no explicit "create database" operation - the database is created as soon as it holds data, so a placeholder collection is created for you automatically.

Delete a MongoDB Database

To delete an existing MongoDB database, click on the "Delete" button next to the database name in the table.

The button turns into Confirm with a 5-second countdown. Click it again before the countdown ends to delete the database; otherwise it reverts to Delete.

Delete button of a MongoDB database turned into a Confirm button with a countdown after the first click Delete button of a MongoDB database turned into a Confirm button with a countdown after the first click

DANGER

⚠️ Deleting a MongoDB database will permanently delete all collections and data for that database.

INFORMATION

The New Database and Database Wizard actions are only available while the MongoDB service is running.