Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TiDB support help statement #33609

Open
longlongago7777 opened this issue Mar 29, 2022 · 6 comments · May be fixed by #25485
Open

TiDB support help statement #33609

longlongago7777 opened this issue Mar 29, 2022 · 6 comments · May be fixed by #25485
Labels
compatibility-mysql8 This is a compatibility issue with MySQL 8.0(but NOT 5.7) type/compatibility type/feature-request This is a feature requests on the product

Comments

@longlongago7777
Copy link

Change Request

同样的mysql命令行,mysql数据库help show 可以显示具体的help contents;
而TiDB不能显示,是不是缺失了帮助信息?
mysql> help show
ERROR 8108 (HY000): Unsupported type *ast.HelpStmt

mysql 命令行版本信息如下:
[root@centos76_vm ~]# mysql -uroot -pTidb123! -h 172.16.7.223 -P4000
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15
Server version: 5.7.25-TiDB-v5.4.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 5.7 compatible

Copyright (c) 2000, 2022, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

@ran-huang
Copy link
Contributor

Thanks for the feedback! Since this is not a documentation issue, I'm transferring it to the tidb repo, where you might get timely help.

@ran-huang ran-huang transferred this issue from pingcap/docs-cn Mar 31, 2022
@Defined2014 Defined2014 added the type/feature-request This is a feature requests on the product label Mar 31, 2022
@Defined2014
Copy link
Contributor

TiDB doesn't support help stmt right now, change to feature request.

@Defined2014 Defined2014 changed the title CLI help --- ERROR 8108 (HY000): Unsupported type *ast.HelpStmt TiDB support help statement Mar 31, 2022
@dbakit
Copy link

dbakit commented Apr 2, 2022

+1, help statement is very very convenient for daily work. Otherwise I must open a browser, and search command on pingcap web document..

@longlongago7777
Copy link
Author

and sometimes, pingcap web would redirect to the Mysql office documentation.

@shawn0915
Copy link
Contributor

+1, this's very important feature, also recorded in asktug.com,
https://asktug.com/t/topic/903592

@dveeden
Copy link
Contributor

dveeden commented Jul 7, 2023

I started to work on this in 2021 in #25485

The main issue is getting help data in a usable format, e.g. extracting this from the docs repo.

Another option would be to basically store and/or generate URLS based on the function and version that a user can then open in a browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility-mysql8 This is a compatibility issue with MySQL 8.0(but NOT 5.7) type/compatibility type/feature-request This is a feature requests on the product
Projects
None yet
6 participants