Skip to content

Support KILL TIDB connection_id() #37261

@Icemap

Description

@Icemap

Feature Request

Is your feature request related to a problem? Please describe:

Please support KILL TIDB connection_id()

For Now:

KILL TIDB connection_id();
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 23 near "connection_id()"
KILL connection_id();
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 18 near "connection_id()"

Describe the feature you'd like:

Just like MySQL or MariaDB:

KILL connection_id();
ERROR 1927 (70100): Connection was killed

Metadata

Metadata

Assignees

Labels

type/feature-requestCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions