Bug #50762 | Users and Roles fail to generate grant privilege SQL statement fo schema objects | ||
---|---|---|---|
Submitted: | 30 Jan 2010 21:40 | Modified: | 16 Feb 2010 17:37 |
Reporter: | Chris Van Vranken | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S3 (Non-critical) |
Version: | 5.2.15 OSS Rev 5053 | OS: | Windows |
Assigned to: | Alfredo Kojima | CPU Architecture: | Any |
Tags: | grant, roles, users |
[30 Jan 2010 21:40]
Chris Van Vranken
[5 Feb 2010 9:55]
Susanne Ebrecht
GRANT ALL ON database.table ...; also valid: GRANT ALL ON database.* ...; or even: GRANT ALL ON *.* ...; The syntax is wrong here.
[10 Feb 2010 18:08]
Alfredo Kojima
Fixed to append .* on GRANT statements on schemas.
[12 Feb 2010 22:36]
Johannes Taxacher
fixed in repository
[16 Feb 2010 17:37]
Tony Bedford
An entry has been added to the 5.2.16 changelog: On the MySQL Model page using Roles and Users to grant privileges to a schema resulted in errors when the model was forward engineered, and the resultant script applied against a MySQL server. The script failed due to invalid SQL syntax, as the SQL created did not correctly apply the privileges to all schema objects.