Bug #99707 | EXPLAIN requires more than SELECT | ||
---|---|---|---|
Submitted: | 27 May 2020 12:33 | Modified: | 1 Jun 2020 11:42 |
Reporter: | Francisco Miguel Biete Banon | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 8.0.20, 5.7.30 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | explain, privileges |
[27 May 2020 12:33]
Francisco Miguel Biete Banon
[27 May 2020 13:21]
MySQL Verification Team
Hi Mr. Banon, Thank you for your documentation enhancement request. I think that your analysis is correct. Verified as reported.
[1 Jun 2020 11:42]
Paul DuBois
Posted by developer: Revised to: EXPLAIN requires the same privileges required to execute the explained statement. Additionally, EXPLAIN also requires the SHOW VIEW privilege for any explained view. EXPLAIN ... FOR CONNECTION also requires the PROCESS privilege if the specified connection belongs to a different user.
[1 Jun 2020 12:29]
MySQL Verification Team
Thank you, Paul.