From which version does reset connect start being supported?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: reset connect在哪个版本开始支持?

| username: Kongdom

[Test Environment for TiDB] Testing
[TiDB Version] v4.0.16
[Reproduction Path] None
[Encountered Issue: Phenomenon and Impact]
I would like to ask which version started supporting this issue?

The test environment is v4.0.16, and it reports an error:

[command=“Reset connect”] [status=“inTxn:0, autocommit:1”] [sql=“Reset connect”] [txn_mode=PESSIMISTIC] [err=“ERROR 1105 (HY000): command 31 not supported now”]

The production environment is v6.5.3, and it does not report an error.

I found something similar on GitHub, but I didn’t see which version it was fixed in.

| username: Billmay表妹 | Original post link

I just checked, and I couldn’t find it either~

| username: 有猫万事足 | Original post link

Only merged into master. So it will follow the major version.
The next major version after 4.0 is 5.0.
The release date for 5.0 is:

Release Date: April 7, 2021

Later than the submission time of the above PR:
Aug 11, 2020

So it should be fixed starting from version 5.0.

| username: Kongdom | Original post link

Indeed, I upgraded version by version yesterday, and it worked fine after upgrading to v5.0.0.

| username: Kongdom | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.