MongoDB Compass is a graphical user interface (GUI) for MongoDB. It provides detailed schema visualizations, real-time performance metrics, sophisticated querying abilities, and more. You can download MongoDB Compass here.
Overview
Here is an overview of the connection between MindsDB and MongoDB Compass:
- We connect MongoDB Compass to MindsDB. It is discussed in the following content.
-
We connect MindsDB to a database. You can use the
CREATE DATABASEstatement and run it from MindsDB, passing all required database connection details. - Having completed steps 1 and 2, you can access the connected database from MongoDB Compass via MindsDB.
How to Connect
Here is how to connect MongoDB Compass to MindsDB using either MindsDB Cloud or local installation.Please add the MindsDB Cloud Public IPs to the access list of your Mongo database.
- Local MindsDB
- MindsDB Cloud
- MindsDB Pro
First, create a new connection in MongoDB Compass by clicking the
New Connection button in the left navigation panel.The host value is 127.0.0.1 and the port value is 47336. Input it in the Host field, as below.