Skip to content

sql: document unsupported GRANT PROXY in MySQL compatibility - #23742

Merged
ti-chi-bot[bot] merged 1 commit into
pingcap:release-8.5from
doc-claw-bot:docs/grant-proxy-mysql-compat
Sep 10, 2026
Merged

sql: document unsupported GRANT PROXY in MySQL compatibility#23742
ti-chi-bot[bot] merged 1 commit into
pingcap:release-8.5from
doc-claw-bot:docs/grant-proxy-mysql-compat

Conversation

@doc-claw-bot

@doc-claw-bot doc-claw-bot commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

What is changed, added or deleted? (Required)

  • Add a MySQL compatibility note to sql-statements/sql-statement-grant-privileges.md to clarify that TiDB does not support GRANT PROXY.
  • This update is scoped to release-8.5 because it documents the currently published behavior verified in TiDB Cloud Starter.

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.2 (TiDB 8.2 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)

What is the related PR or file link(s)?

AI agent involvement

  • The changes in this PR were primarily made by an AI agent on behalf of the PR author.

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

Summary by CodeRabbit

  • Documentation
    • Clarified MySQL compatibility details for GRANT <privileges>.
    • Noted that TiDB does not support GRANT PROXY.

@ti-chi-bot ti-chi-bot Bot added contribution This PR is from a community contributor. missing-translation-status This PR does not have translation status info. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 4, 2026
@doc-claw-bot doc-claw-bot added type/compatibility-or-feature-change This PR involves compatibility changes or feature behavior changes. area/security Relates to TiDB security and privilege. needs-cherry-pick-master Should cherry pick this PR to master branch. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. and removed missing-translation-status This PR does not have translation status info. labels Sep 4, 2026
@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Team

Run ID: 4ab0504b-c614-4d30-a721-bf205b8ed20d

📥 Commits

Reviewing files that changed from the base of the PR and between 901e176 and 921402b.

📒 Files selected for processing (1)
  • sql-statements/sql-statement-grant-privileges.md

Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

The MySQL compatibility section for GRANT <privileges> now states that TiDB does not support GRANT PROXY.

Changes

GRANT PROXY compatibility

Layer / File(s) Summary
Document GRANT PROXY compatibility
sql-statements/sql-statement-grant-privileges.md
Adds a MySQL compatibility bullet that documents the unsupported GRANT PROXY statement in TiDB.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 92140

The GRANT privileges reference now documents that TiDB does not support GRANT PROXY. The documentation-only change is ready to merge with no identified current risk.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the documented MySQL compatibility limitation: unsupported GRANT PROXY syntax.
Description check ✅ Passed The description explains the change, identifies the affected TiDB version, provides a reference link, and records AI involvement. The optional first-time contributor section is not required.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ti-chi-bot ti-chi-bot Bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Sep 10, 2026
@qiancai

qiancai commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

/approve

@ti-chi-bot

ti-chi-bot Bot commented Sep 10, 2026

Copy link
Copy Markdown

[LGTM Timeline notifier]

Timeline:

  • 2026-09-10 10:09:15.534558786 +0000 UTC m=+1965190.705652921: ☑️ agreed by qiancai.

@qiancai qiancai added the lgtm label Sep 10, 2026
@ti-chi-bot

ti-chi-bot Bot commented Sep 10, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiancai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added the approved label Sep 10, 2026
@ti-chi-bot
ti-chi-bot Bot merged commit 8d85871 into pingcap:release-8.5 Sep 10, 2026
12 checks passed
@ti-chi-bot

Copy link
Copy Markdown
Member

In response to a cherrypick label: new pull request created to branch master: #23823.
But this PR has conflicts, please resolve them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/security Relates to TiDB security and privilege. contribution This PR is from a community contributor. lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. needs-cherry-pick-master Should cherry pick this PR to master branch. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. type/compatibility-or-feature-change This PR involves compatibility changes or feature behavior changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants