Skip to content

Commit 92509e0

Browse files
committed
fix: update privileges
1 parent f6d4664 commit 92509e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql-statements/sql-statement-refresh-stats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ ClusterOption ::=
8989

9090
## Privileges
9191

92-
To execute `REFRESH STATS`, you must have the `SELECT` privilege on every targeted table. If you do not have sufficient privileges, TiDB returns an error and aborts the statement.
92+
To execute `REFRESH STATS`, you must either have the `RESTORE_ADMIN` privilege or hold `SELECT` on every targeted table. If you do not have sufficient privileges, TiDB returns an error and aborts the statement.
9393

9494
## MySQL compatibility
9595

0 commit comments

Comments
 (0)