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 TiDB using SQL shell, perform the following steps:
Log in to the TiDB Cloud console and navigate to the My TiDB page.
Click the name of your target TiDB Cloud Dedicated cluster to go to its overview page, and then click Settings > Networking in the left navigation pane.
On the Networking page, click Web SQL Shell in the upper-right corner.
On the prompted Enter password line, enter the root password of the current cluster. Then your application is connected to the TiDB cluster.