-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
information-schema: add client errors docs #5983
Conversation
/label v5.0 |
/label needs-cherry-pick-5.0 |
/cc @djshow832 @TomShawn |
summary: 了解 information_schema 表 `CLIENT_ERRORS_SUMMARY_GLOBAL`。 | ||
--- | ||
|
||
# CLIENT_ERROR_SUMMARY_GLOBAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
英文此处需要修改
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/cc @bb7133 |
* 权限错误。 | ||
* 表不存在。 | ||
|
||
MySQL 服务器协议会返回以上错误到客户端,此时应用程序应在客户端采取适当操作。information_schema 表 `CLIENT_ERRORS_SUMMARY_GLOBAL` 提供了一种高级概述,在应用程序无法正确处理(或记录)TiDB 服务器返回的错误的情况下很有用。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
* `ERROR_NUMBER`:返回的与 MySQL 兼容的错误编号。 | ||
* `ERROR_MESSAGE`:与错误编号相匹配的错误信息(以预准备语句形式)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
Co-authored-by: djshow832 <zhangming@pingcap.com>
/lgtm |
@djshow832: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only added comments to information-schema/client-errors-summary-by-host.md
, but since the other two files have almost the same description, please also update client-errors-summary-by-user.md
and client-errors-summary-global.md
.
/status require-change |
Co-authored-by: Lilian Lee <lilin@pingcap.com>
Co-authored-by: Lilian Lee <lilin@pingcap.com>
…cs-cn into add-is-client-errors
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by writing |
/merge |
@yikeke: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/status LGT2 |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: ad33bdb
|
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.0 in PR #5990 |
First-time contributors' checklist
What is changed, added or deleted? (Required)
This adds docs for pingcap/tidb#22382
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?