Integrations & Compatibility
TiDB Integrations: Kubernetes, Kafka, Spark and Cloud
TiDB and TiDB Cloud integrate with the tools modern engineering teams already run. Fully MySQL protocol compatible with standard drivers, JDBC, ODBC, and popular ORMs like Hibernate, Prisma, and SQLAlchemy.
TiDB Integration Categories (At-a-Glance)
TiDB compatibility spans the modern data and application ecosystem.
Kubernetes and Cloud-Native
TiDB Operator, Prometheus, Grafana, Datadog, New Relic
Streaming and CDC
Apache Kafka, TiCDC, Confluent, Apache Flink, Airbyte, dbt
Analytics and HTAP
Apache Spark (TiSpark), Tableau, Power BI, Looker, Superset
AI and MCP Integrations
LLM integrations, Model Context Protocol, AI-powered analytics
App Platforms and Serverless
AWS Lambda, Google Cloud Functions, Vercel, Railway
Infrastructure Automation
Terraform, Ansible, CloudFormation, Infrastructure as Code
Connectors, Drivers and ORMs
JDBC, ODBC, Go, Python, Node.js, Hibernate, SQLAlchemy, Prisma
Cloud Providers and Marketplaces
AWS, Google Cloud, Azure, Alibaba Cloud, Huawei Cloud
Kubernetes and Cloud-Native Integrations for TiDB
Run, scale, and monitor TiDB in production using cloud-native orchestration and observability tooling.
Kubernetes (TiDB Operator)
Deploy and manage TiDB clusters natively on Kubernetes with automated scaling, upgrades, backup, and self-healing.
Prometheus
Collect real-time performance metrics from TiDB clusters for monitoring, alerting, and operational visibility.
Grafana
Visualize TiDB performance metrics with prebuilt dashboards for cluster health, query latency, and storage insights.
Datadog
Export TiDB metrics into Datadog for centralized monitoring across cloud-native infrastructure.
New Relic
Integrate TiDB observability data into New Relic APM workflows for full-stack monitoring.
TiDB Is Fully MySQL Compatible
Most integrations rely on open standards like JDBC and ODBC — reducing friction when migrating or modernizing existing workloads. If you are modernizing legacy systems, see how to Modernize MySQL workloads with TiDB.
Streaming and CDC Integrations for TiDB
Real-time architectures depend on reliable change data capture and event streaming. TiDB supports CDC via TiCDC.
Apache Kafka (TiCDC)
Stream real-time changes from TiDB to Kafka using TiCDC for event-driven architectures and data pipelines.
Apache Flink
Consume TiDB change streams in Flink for stateful stream processing and real-time analytics.
Confluent
Deliver TiDB change events into Confluent-compatible Kafka deployments for scalable streaming workflows.
Airbyte
Use Airbyte connectors to move data into or out of TiDB for modern ELT pipelines.
Amazon AppFlow
Integrate SaaS data into TiDB via AWS AppFlow for cloud-native data movement workflows.
dbt
Transform TiDB data using dbt in ELT pipelines for analytics engineering and modeling.
Analytics and HTAP Workloads
TiDB is an HTAP database — handle transactional and analytical workloads on the same data without ETL duplication.
Apache Spark (TiSpark)
Run distributed Spark SQL queries directly on TiDB using TiSpark for large-scale analytics without ETL duplication.
Tableau
Connect Tableau dashboards to TiDB for interactive visual analytics and business intelligence.
PowerBI
Integrate TiDB with Microsoft Power BI for unified data visualization and reporting.
Looker
Build self-service analytics with Looker's semantic layer connected to TiDB data.
Apache Superset
Create interactive, real-time dashboards with Superset using TiDB as a native data source.
Drivers, Connectors and ORM Compatibility
TiDB is MySQL protocol compatible — all standard drivers work without modification.
JDBC and ODBC
Standard Java and system-level database connectivity with full ACID and transactional support.
Python (SQLAlchemy, PyMySQL)
Connect Python applications using SQLAlchemy ORM and PyMySQL driver with native MySQL compatibility.
Node.js (Prisma, Sequelize)
Use Prisma and Sequelize ORMs for Node.js with TiDB as a drop-in MySQL replacement.
Go (gorm, database/sql)
Build Go applications with gorm and standard database/sql packages connecting to TiDB.
Hibernate (Java)
Use Hibernate with TiDB for object-relational mapping in Java enterprise applications.
ProxySQL
Use ProxySQL for connection pooling and traffic routing in TiDB-compatible environments.
Cloud Providers and Marketplaces
Deploy TiDB Cloud or self-hosted TiDB across all major cloud providers.
AWS
Deploy TiDB Cloud on AWS, access via CloudFormation, and use AWS AppFlow for data integration.
Google Cloud Platform
Run TiDB on Google Cloud Bigtable or self-host with native GCP marketplace integrations.
Microsoft Azure
Deploy TiDB on Azure Kubernetes Service (AKS) with Azure Marketplace support.
Alibaba Cloud
TiDB deployments on Alibaba Cloud with native marketplace and managed service options.
Self-Hosted (On-Premises)
Deploy TiDB on your own infrastructure using Kubernetes Operator or binary installation.
Infrastructure Automation & DevOps Tooling
Provision, manage, and govern TiDB clusters using infrastructure-as-code and database DevOps workflows.
Terraform (TiDB Cloud Provider)
Provision and manage TiDB Cloud clusters using Terraform for infrastructure-as-code workflows.
Bytebase
Manage TiDB schema migrations and database DevOps workflows with version control and approvals.
Gitpod
Spin up cloud-based development environments connected to TiDB for rapid prototyping.
App Platforms & Serverless Deployments
Connect modern serverless, SaaS, and edge applications to TiDB using standard MySQL-compatible drivers.
Vercel
Connect serverless and SaaS backends on Vercel to TiDB Cloud using standard MySQL drivers.
Netlify
Integrate Netlify-hosted applications with TiDB via MySQL-compatible connectors.
AWS Lambda
Use Lambda functions to query or write to TiDB using standard MySQL connectors in serverless architectures.
Cloudflare
Build globally distributed applications connecting Cloudflare workers to TiDB Cloud endpoints.
Zapier
Automate workflows triggered by TiDB data changes using Zapier integrations.
n8n
Create event-driven automation workflows integrating TiDB with SaaS tools via n8n.
Ready to Integrate TiDB into Your Tech Stack?
Explore the full documentation for each integration, or get started with TiDB Cloud free trial today.