Skip to content

TiDB support #2514

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

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions