Skip to content

TiDB Cloud

Select a Template


TiDB Cloud is a fully-managed Database-as-a-Service (DBaaS) powered by TiDB, bringing a MySQL-compatible serverless hybrid transaction/analytics processing (HTAP) cloud database, to your business. It handles complex tasks such as infrastructure management and cluster deployment for you. Other features include:

  • Real Time Operational Analytics
  • High Availability and Reliability
  • High Concurrency
  • Enterprise Grade Security
  • Multiple Cloud Provider Support
  • Automatic and Indefinite Scaling

Additional Information

This integration will allow you to connect an existing TiDB Cloud cluster to your Vercel project(s). If you don't have a cluster yet, follow the official documentation to create one.

After you have completed the integration setup and successfully connected a TiDB Cloud cluster to your Vercel project(s), the information necessary to connect the TiDB Cloud cluster are set in the projects' environment variables.

Environment Variables

Necessary information to connect a TiDB Cloud cluster, host, port, user and password are set in the following variables:


For TiDB Dedicated clusters, there is another variable:


This variable holds the content of the root certificate, which issues TiDB Dedicated clusters' certificates, in Privacy Enhanced Mail (PEM) format.

We've also provided a convenient variable for Prisma framework:


Pre-built solutions