-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
EXPLAIN Select * from view requires different privileges to MySQL #9875
Comments
Note that to explain a view, user also need priv
|
@wjhuang2016 May you help us try to solve this issue? |
Sure :) |
@wjhuang2016
And now we are compatible with MySQL 5.7, rather than MySQL 8.0. |
I found the document you used is MySQL8.0, I think we'd better use MySQL5.7 manual. |
Ok, and could you tell me that in what sisutaion we should use 8.0 doc? |
The existing features of TiDB are all compatible with MySQL 5.7. |
Thanks, I got it. |
@xiekeyi98 tidb/planner/core/planbuilder.go Lines 1659 to 1667 in d6490c1
Presently we have no way to pass the |
@zz-jason PTAL, Thanks. |
@wjhuang2016 You can add a |
Great! It's prefect! |
Bug Report
If possible, provide a recipe for reproducing the error.
root:
u@'%':
ERROR 1345 (HY000): EXPLAIN/SHOW can not be issued; lacking privileges for underlying table
no error
tidb-server -V
or runselect tidb_version();
on TiDB)?v3.0.0-beta-271-g630671e41
The text was updated successfully, but these errors were encountered: