Loading video...

Video Failed to Load

Go Home

You can now access AI directly from your database! Here is a step-by-step demo that uses GPT-4 to classify customer reviews from a MySQL dataset. And I'm only writing SQL instructions! You have to see it! The model acts as another table in the database. I can query it...

209,454 views • 2 years ago •via X (Twitter)

10 Comments

Raul Junco's profile picture
Raul Junco2 years ago

A common business requirement is solved in a smart way.

Kris Lukanov's profile picture
Kris Lukanov2 years ago

That's super cool 😎

John's profile picture
John2 years ago

Looks very interesting, but I would like to know more about the actual connection to your DB. ie: does MindsDB have access to your actual login details for that db?

Juan Andrés Arriaga's profile picture
Juan Andrés Arriaga2 years ago

Kind of worried about security with this implementation. This is a great start but may not be useful with sensitive data

Rajasekar Nonburaj (𝑅𝒥)'s profile picture
Rajasekar Nonburaj (𝑅𝒥)2 years ago

Super cool and remind me of sparksql.

Munsif's profile picture
Munsif2 years ago

Looks great

Yippee Ki Yay's profile picture
Yippee Ki Yay2 years ago

what about SQLite

Marcus Gill Greenwood's profile picture
Marcus Gill Greenwood2 years ago

please tell me it caches! 😬

Luke Skyward's profile picture
Luke Skyward2 years ago

Smart!

Yasar Arafath's profile picture
Yasar Arafath2 years ago

@jaleeledathol

Related Videos

Google open-sourced MCP Toolbox for Databases. I gave it access to everything else. For context, Google's MCP Toolbox for Databases is an open-source server that lets AI agents securely query structured databases like PostgreSQL and MySQL through the MCP protocol However, most enterprise knowledge doesn't actually live in databases. It's scattered across emails, Slack threads, GitHub repos, Salesforce records, customer reviews, and internal docs. So Agents can't see any of it, which means they're working with a fraction of the context they need. I fixed that using MindsDB. It acts as a universal SQL layer that sits on top of all your data sources: structured, semi-structured, and unstructured. This means you can query Salesforce, Gmail, GitHub, S3 files, Jira, and 200+ more sources using SQL syntax. The clever part is how it connects to the MCP Toolbox. MindsDB exposes everything through MySQL, so from the Agent's perspective, it's just running SQL and getting context back. It doesn't know or care that the data came from five different sources behind the scenes. This setup unlocks some powerful capabilities: → One SQL interface for dozens of enterprise sources → Cross-datasource joins (combine GitHub and CRM data in a single query) → Built-in ML capabilities for working with unstructured data → Simple MCP tools that now have massively expanded reach In the video below, the Agent queries GitHub data and a customer review database in one SQL query. So what used to require ETL pipelines and weeks of engineering effort now happens instantly. At the end of the day, AI agents are only as useful as the data they can access. This gives them a lot more to work with. I have shared the GitHub repo in the replies, where you can find more details about this.

Akshay 🚀

39,331 views • 5 months ago