Bug #51593 | MySQL Documentation Incorrect on 'ALTER' Privilege | ||
---|---|---|---|
Submitted: | 1 Mar 2010 1:46 | Modified: | 26 May 2011 19:42 |
Reporter: | Singer Wang | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.0 and 5.1 | OS: | Any |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
[1 Mar 2010 1:46]
Singer Wang
[1 Mar 2010 4:21]
Valeriy Kravchuk
Thank you for the problem report. Note that http://dev.mysql.com/doc/refman/5.1/en/rename-table.html describes privileges required correctly.
[1 Mar 2010 4:44]
Singer Wang
YES, it is correct there: http://dev.mysql.com/doc/refman/5.1/en/rename-table.html and I agree. However the statement: The ALTER privilege enables use of ALTER TABLE to change the structure of or rename tables. (ALTER TABLE also requires the INSERT and CREATE privileges.) From http://dev.mysql.com/doc/refman/5.1/en/privileges-provided.html and http://dev.mysql.com/doc/refman/5.0/en/privileges-provided.html is NOT correct. This is what I wanted to point out.
[1 Mar 2010 5:07]
Singer Wang
Same here (http://dev.mysql.com/doc/refman/5.1/en/alter-table.html): To use ALTER TABLE, you need ALTER, INSERT, and CREATE privileges for the table. Which is not true. You need ALTER, INSERT, CREATE, DROP as well..
[26 May 2011 19:42]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.