Databases
Manage databases in Mingo with write-lock protection, dump and restore operations, and collection management.
Write-Lock
Write-Lock prevents unintended changes on documents of a locked database. Databases are locked by default.
You can unlock a database via the database context menu. When attempting write actions on a locked database, Mingo prompts you to confirm whether to unlock for 10 minutes or permanently.
Collections List
Access the collections view through Collections & Stats in the database context menu. This displays an alphabetical listing with basic statistics.
Right-clicking rows enables collection actions. A Create new collection button allows adding new collections.
Creating a Database
New databases are created via the Create Database button in the sidebar. You must have appropriate MongoDB privileges to create databases within a connection.
Dump and Restore
The dump and restore feature requires locally installed mongodump and mongorestore tools.
Workflow
- Right-click a database and select Dump database...
- Select the collections to dump
- Choose a destination: directory, archive, another database, or a new database
- Select compression options (gzip available)
- Choose restore options (drop collections option available)
- Confirm the operation
Dump settings can be saved and reused for the current database using the Save/Open buttons.
Refreshing a Database
You can manually refresh database information via the right-click context menu (Refresh), though Mingo performs automatic background updates.
Dropping a Database
Drop an entire database through the context menu. Confirmation is required before the operation proceeds.