Skip to content
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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants