TiDBTiDB Docs Dash 2024

Jan 9 - Jan 12 (UTC)
Join us to improve docs and win a prize!
Sign InTry Free

Connect to TiDB Serverless via Public Endpoint

This document describes how to connect to your TiDB Serverless cluster via public endpoint. With the public endpoint, you can connect to your TiDB Serverless cluster via a SQL client from your laptop.

To connect to a TiDB Serverless cluster via public endpoint, take the following steps:

  1. Navigate to the Clusters page, and then click the name of your target cluster to go to its overview page.

  2. Click Connect in the upper-right corner. A connection dialog is displayed.

  3. In the dialog, keep the default setting of the endpoint type as Public, and select your preferred connection method and operating system to get the corresponding connection string.

  4. If you have not set a password yet, click Create password to generate a random password. The generated password will not show again, so save your password in a secure location.

  5. Connect to your cluster with the connection string.

What's next

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

Was this page helpful?

Download PDFRequest docs changesAsk questions on Discord
Playground
New
One-stop & interactive experience of TiDB's capabilities WITHOUT registration.
Products
TiDB
TiDB Dedicated
TiDB Serverless
Pricing
Get Demo
Get Started
© 2024 PingCAP. All Rights Reserved.
Privacy Policy.