Cmd+K database switching work as on MySQL.
Connection settings
Release the Server Connection After is available under Advanced. AWS IAM, Cloud SQL Auth Proxy and Unix socket are not offered; reach a private cluster through an SSH tunnel.
Connection URL
tidb+ssh:// opens it through an SSH tunnel. See Connection URL Reference.
What differs from MySQL
- The sidebar hides
INFORMATION_SCHEMA,METRICS_SCHEMA,PERFORMANCE_SCHEMA,mysqlandsys. Sequences are not listed as tables. - Stop sends
KILL TIDB QUERYfor the connection’s own session. EXPLAINandEXPLAIN ANALYZEshow TiDB’s plan as text, not as a plan tree.- CHECK constraints appear in the Structure tab on TiDB 7.2 and later, when the cluster has
tidb_enable_check_constrainton. Adding one from the Structure tab is not offered. - The type picker has MySQL’s types without the Spatial group.
- Foreign keys can be created, without the
SET DEFAULTaction. Tables and views can be renamed, and virtual generated columns are supported. - Users & Roles works, with no connection limit field.
- Table Maintenance offers
ANALYZE TABLEonly.
Limitations
- No triggers, stored routines or events.
- No Server Dashboard, and File > Backup Dump… stays dimmed. Export with Dumpling instead.
- Create Table has no engine, charset or collation pickers.
- Compare & Sync writes no structure script between TiDB and MySQL or MariaDB. TiDB against TiDB works.
- Pages of an unsorted table can repeat or skip rows on a table spread over several regions. Sort by a column to get stable pages.
- Behind TiProxy or a load balancer, Stop needs Global Kill, on by default since TiDB 6.1. Without it, connect straight to one TiDB node.
- TiDB closes a session that receives
KILL TIDB QUERYwhile idle, so Stop pressed just as a statement finishes can end the session, along with its open transaction, temporary tables and variables.
Related
- MySQL, for connection fields, SSL/TLS, and troubleshooting
- MariaDB
- SSH Tunneling

