Skip to content

TiDB Cloud

Select a Template

Overview

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:

TIDB_HOST
TIDB_PORT
TIDB_USER
TIDB_PASSWORD

For Dedicated Tier clusters, there is another variable:

TIDB_SSL_CA

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

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

DATABASE_URL

Pre-built solutions