Skip to content

TiDB support #2514

Closed
Closed

Description

@datlechin

Problem

TiDB speaks the MySQL protocol, so it connects through the MySQL plugin, but it is not a first-class type. Its own catalog tables, its cluster topology and its differences from MySQL are invisible, and version detection reports it as MySQL.

Proposed solution

  • A DatabaseType of its own, detected from VERSION() containing TiDB, with its own icon and defaults.
  • TiDB-specific catalog in the sidebar where it differs: cluster info, regions, and INFORMATION_SCHEMA.CLUSTER_*.
  • Suppress the MySQL features TiDB does not have, rather than offering them and failing.
  • Its own docs page saying what works and what does not.

Alternatives considered

Connect as MySQL and accept the mismatches.

Related database type

MySQL / MariaDB

Activity

  1. added
    enhancement
    on Aug 26, 2026
  2. J2TeamNNL commented on Sep 10, 2026

    @J2TeamNNL
    Contributor

    Opened a PR for the TiDB connection type: #2711
    It also covers the older community request in #1066 (TiDB + Databend).
    Out of scope here: INFORMATION_SCHEMA.CLUSTER_* in the sidebar, and rewriting an existing MySQL connection after sniffing VERSION().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions