Bug #5329 | GRANT ALL doesn't work after upgrading from 5.0.0 >= | ||
---|---|---|---|
Submitted: | 31 Aug 2004 23:02 | Modified: | 11 Sep 2004 16:18 |
Reporter: | Shuichi Tamagawa | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.1-alpha-log | OS: | Linux (SuSE Linux 9.0) |
Assigned to: | Oleksandr Byelkin | CPU Architecture: | Any |
[31 Aug 2004 23:02]
Shuichi Tamagawa
[1 Sep 2004 0:51]
Paul DuBois
The reason this happens is that after you run the mysql_fix_privilege_tables, the grant tables contain the view-related privileges (CREATE VIEW and SHOW VIEW), but do not set those privileges to 'Y' for any users. As a result, no users (including root) possess the privilege, so no users can grant it. GRANT ALL requires that you possess all privileges to be granted, so it fails. To fix: manually update the grant tables with UPDATE to set the view columns to 'Y'.
[11 Sep 2004 15:47]
Oleksandr Byelkin
ChangeSet 1.1755 04/09/11 18:46:06 bell@sanja.is.com.ua +1 -0 fixed privilege system upgrade script, to allow VIEW privileges for used who have CREATE privilege (BUG#5329)
[11 Sep 2004 16:18]
Oleksandr Byelkin
Thank you for bugreport! mysql_fix_privileges_tales.sql script is fixed and will be present in next server release