Sign InTry Free

Connect via SQL Shell

In TiDB Cloud SQL Shell, you can try TiDB SQL, test out TiDB's compatibility with MySQL quickly, and administer database user privileges.

To connect to your TiDB cluster using SQL shell, perform the following steps:

  1. Log in to the TiDB Cloud console and navigate to the Clusters page of your project.

  2. Click the name of your target cluster to go to its cluster overview page, and then click Connect in the upper-right corner. A connection dialog is displayed.

  3. In the dialog, select the Web SQL Shell tab, and then click Open SQL Shell.

  4. On the prompted Enter password line, enter the root password of the current cluster. Then your application is connected to the TiDB cluster.

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.