MongoDB Shell is the quickest way to connect and work with MongoDB.MindsDB provides a powerful MongoDB API, allowing users to connect MindsDB to the MongoDB Shell. Please note that connection to MongoDB API provided by MindsDB is the same as connection to a MongoDB database. You can download MongoDB Shell here.
Upon opening the MongoDB Shell, you see the following message:
Let’s look at the connection strings for both MindsDB Cloud and local installation.
Provide your local MindsDB connection string to connect to a local MindsDB installation. You can copy the connection string from the MongoDB Compass if you have already created a connection there.Here is a connection string to connect to a local MindsDB installation:
Now that you are all set, we recommend you check out our Tutorials section, where you’ll find various examples of regression, classification, and time series predictions with MindsDB.To learn more about MindsDB itself, follow the guide on MindsDB collection structure. Also, don’t miss out on the remaining pages from the Mongo API section, as these explain common MQL syntax with examples.Have fun!
From Our CommunityCheck out the video guide created by our community: