Connection guide

Connect TiDB Cloud to Dora

TiDB Cloud speaks the MySQL wire protocol. Dora connects with a standard MySQL connection string from your TiDB console.

TiDB Cloud clusters are MySQL-compatible, so Dora connects to them using the MySQL protocol. Browse tables, run queries, and inspect your TiDB schema from the desktop.

TiDB requires SSL on all Cloud connections. Dora applies SSL automatically when connecting to TiDB Cloud hosts.

MySQL connection string

mysql://[USER]:[PASSWORD]@[HOST].tidbcloud.com:4000/[DBNAME]

Steps

  1. 1.Open Connect in TiDB Cloud

    In the TiDB Cloud console, select your cluster and click Connect. Choose "General" or "MySQL CLI" as the connection method.

  2. 2.Copy the connection details

    Note the host (ending in .tidbcloud.com), port (4000), username, and password. Copy the connection string if shown, or assemble it from those details.

  3. 3.Add a MySQL connection in Dora

    Create a new MySQL connection in Dora. Enter the TiDB host, port 4000, username, password, and database name. Enable SSL in the connection settings.

  4. 4.Test and connect

    Click Test, then Connect. Your TiDB tables appear in the sidebar ready to browse and query.

Good to know

  • TiDB Cloud requires SSL. Enable SSL in the Dora connection dialog when connecting to a TiDB Cloud host.
  • TiDB is MySQL-compatible but is a distributed database — some MySQL-specific behavior may differ. Standard SELECT, INSERT, UPDATE, and DDL queries work as expected.
  • TiDB Serverless and TiDB Dedicated both use the same connection method. The port is 4000 by default for TiDB Cloud.