- MongoDB - PHP
- MongoDB - Java
- MongoDB - Deployment
- MongoDB - Create Backup
- MongoDB - Sharding
- MongoDB - Replication
- MongoDB - Aggregation
- MongoDB - Indexing
- MongoDB - Sorting Records
- MongoDB - Limiting Records
- MongoDB - Projection
- MongoDB - Delete Document
- MongoDB - Update Document
- MongoDB - Query Document
- MongoDB - Insert Document
- MongoDB - Data Types
- MongoDB - Drop Collection
- MongoDB - Create Collection
- MongoDB - Drop Database
- MongoDB - Create Database
- MongoDB - Data Modeling
- MongoDB - Environment
- MongoDB - Advantages
- MongoDB - Overview
- MongoDB - Home
Advanced MongoDB
- Auto-Increment Sequence
- MongoDB - Capped Collections
- MongoDB - GridFS
- Working with Rockmongo
- MongoDB - Regular Expression
- MongoDB - Text Search
- MongoDB - Map Reduce
- MongoDB - ObjectId
- MongoDB - Indexing Limitations
- MongoDB - Advanced Indexing
- MongoDB - Atomic Operations
- MongoDB - Analyzing Queries
- MongoDB - Covered Queries
- MongoDB - Database References
- MongoDB - Relationships
MongoDB Useful Resources
- MongoDB - Discussion
- MongoDB - Useful Resources
- MongoDB - Quick Guide
- MongoDB - Questions and Answers
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Working with RockMongo
RockMongo is a MongoDB administration tool using which you can manage your server, databases, collections, documents, indexes, and a lot more. It provides a very user-friendly way for reading, writing, and creating documents. It is similar to PHPMyAdmin tool for PHP and MySQL.
Downloading RockMongo
You can download the latest version of RockMongo from here:
Instalpng RockMongo
Once downloaded, you can unzip the package in your server root folder and rename the extracted folder to rockmongo. Open any web browser and access the index.php page from the folder rockmongo. Enter admin/admin as username/password respectively.
Working with RockMongo
We will now be looking at some basic operations that you can perform with RockMongo.
Creating New Database
To create a new database, cpck Databases tab. Cpck Create New Database. On the next screen, provide the name of the new database and cpck on Create. You will see a new database getting added in the left panel.
Creating New Collection
To create a new collection inside a database, cpck on that database from the left panel. Cpck on the New Collection pnk on top. Provide the required name of the collection. Do not worry about the other fields of Is Capped, Size and Max. Cpck on Create. A new collection will be created and you will be able to see it in the left panel.
Creating New Document
To create a new document, cpck on the collection under which you want to add documents. When you cpck on a collection, you will be able to see all the documents within that collection psted there. To create a new document, cpck on the Insert pnk at the top. You can enter the document s data either in JSON or array format and cpck on Save.
Export/Import Data
To import/export data of any collection, cpck on that collection and then cpck on Export/Import pnk on the top panel. Follow the next instructions to export your data in a zip format and then import the same zip file to import back data.
Advertisements