📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

Connect to Your TiDB Cloud Premium Instance



This document describes how to connect to your TiDB Cloud Premium instance.

Connection methods

After your TiDB Cloud Premium instance is created on TiDB Cloud, you can connect to it via direct connections.

Direct connections mean the MySQL native connection system over TCP. You can connect to your instance using any tool that supports MySQL connection, such as MySQL client.

Connection methodUser interfaceScenario
Direct connectionsSQL/ORMLong-running environment, such as Java, Node.js, and Python.

Network

There are two network connection types for TiDB Cloud Premium:

  • Private endpoint (recommended)

    Private endpoint connection provides a private endpoint to allow SQL clients in your VPC to securely access services over AWS PrivateLink, which provides highly secure and one-way access to database services with simplified network management.

  • Public endpoint

    The standard connection exposes a public endpoint, so you can connect to your TiDB Cloud Premium instance via a SQL client from your laptop.

The following table shows the network you can use:

Connection methodNetworkDescription
Direct connectionsPublic or private endpointDirect connections can be made via both public and private endpoints.

What's next

After you have successfully connected to your TiDB Cloud Premium instance, you can explore SQL statements with TiDB.

Was this page helpful?