Skip to content

Commit

Permalink
ticdc: add mysql sink user privilege (#6072)
Browse files Browse the repository at this point in the history
  • Loading branch information
Liuxiaozhen12 authored Aug 2, 2021
1 parent 6a8d059 commit f46ce8a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ticdc/troubleshoot-ticdc.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,3 +398,19 @@ If you want to skip this DDL statement that goes wrong, set the start-ts of the
cdc cli changefeed update -c test-cf --pd=http://10.0.10.25:2379 --start-ts 415241823337054210
cdc cli changefeed resume -c test-cf --pd=http://10.0.10.25:2379
```

## When the sink of the replication downstream is TiDB or MySQL, what permissions do users of the downstream database need?

When the sink is TiDB or MySQL, the users of the downstream database need the following permissions:

- `Select`
- `Index`
- `Insert`
- `Update`
- `Delete`
- `Create`
- `Drop`
- `Alter`
- `Create View`

If you need to replicate `recover table` to the downstream TiDB, the `Super` permission is required.

0 comments on commit f46ce8a

Please sign in to comment.