Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 2.91 KB

File metadata and controls

46 lines (28 loc) · 2.91 KB
title Connect to Your {{{ .premium }}} Instance
summary Learn how to connect to your {{{ .premium }}} instance via different methods.

Connect to Your {{{ .premium }}} Instance

This document describes how to connect to your {{{ .premium }}} instance.

Tip:

To learn how to connect to a TiDB Cloud Dedicated cluster, see Connect to Your TiDB Cloud Dedicated Cluster.

Connection methods

After your {{{ .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 method User interface Scenario
Direct connections SQL/ORM Long-running environment, such as Java, Node.js, and Python.

Network

There are two network connection types for {{{ .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 instance via a SQL client from your laptop.

The following table shows the network you can use:

Connection method Network Description
Direct connections Public or private endpoint Direct connections can be made via both public and private endpoints.

What's next

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