Video coming soon…
🤖 Setup MindsDB — AI Queries Over Your Data With SQL
Deploy MindsDB on Ubuntu with Docker — a platform that connects AI models to your databases so you can run predictions and LLM queries using plain SQL, on port 47334.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/ai/mindsdb/mindsdb-ubuntu.sh
chmod +x mindsdb-ubuntu.sh
sudo bash mindsdb-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/ai/mindsdb/mindsdb-ubuntu.sh
2 Make it Executable
chmod +x mindsdb-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts MindsDB with the web UI and HTTP API on 47334 and a MySQL-wire API on 47335, with data in ./data.
sudo bash mindsdb-ubuntu.sh
4 Open the Editor
Browse to MindsDB's SQL editor, connect a data source, then create a model and query it — all in SQL:
http://<your-server-ip>:47334
Ports Used
| Port | Purpose |
|---|---|
| 47334 | Web UI + HTTP API (host → container 47334) |
| 47335 | MySQL-wire API for existing SQL clients |
| ./data | Models, connections, and config (holds DB credentials) |