Skip to content

ticdc: for changefeed with MySQL-compatible-sink, mention that downstream user needs REFERENCES privilege too #22764

@kennytm

Description

@kennytm

Change Request

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

https://docs.pingcap.com/tidb/stable/ticdc-sink-to-mysql/#permissions-required-for-the-downstream-database-user

If upstream runs a DDL create table db1.t1(..., y_id bigint references db2.t2(id), ...), the downstream user will need REFERENCES privilege on db2.t2 to successfully create this table db1.t1. Since this is not mentioned in documentation, the customer may forget to grant this privilege and causes the changefeed to fail.

  1. Describe your suggestion or addition.

The simplest is just include "REFERENCES" privilege into the list.

  1. Provide some reference materials (such as documents and websites) if you could.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ticdcIndicates that the Issue or PR belongs to the area of TiCDC.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions