Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

When using BR Restore to TiDB Cloud prompt it will prompt warning "privilege check for 'Update' fail" #1477

Open
Rick-lee01 opened this issue Aug 30, 2022 · 1 comment

Comments

@Rick-lee01
Copy link

Question

When using BR Restore SQL to restore data to TiDB Cloud , it will prompt warning messages: "privilege check for 'Update' fail". However, it will not prompt warning information if I restore data to OP TiDB.
For example:
origin_img_v2_595f7043-d577-491e-abe7-847414783fag

The data of table has been restored to TiDB Cloud . In tidb.log ,I just find the follow information. So I need to know the reason for the warning messages.
origin_img_v2_7d1f2c3e-0fed-434f-a2a8-7ae36fd96c5g

@WangLe1321
Copy link

The error is that br wants to update mysql.stats_meta table to update snapshot, count columns of restored table by sql and the tidb returns error of privilege. Please use sql of SHOW GRANTS; to check whether your user has privilege of update for mysql database. And this error doesn't influence the result of restore, because it only updates the statistics information.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants