Bug #55742 | Enabling events on slave don't work as described in manual | ||
---|---|---|---|
Submitted: | 4 Aug 2010 12:35 | Modified: | 31 Aug 2010 9:08 |
Reporter: | Sveta Smirnova | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.1+ | OS: | Any |
Assigned to: | Jon Stephens | CPU Architecture: | Any |
Tags: | events, replication |
[4 Aug 2010 12:35]
Sveta Smirnova
[19 Aug 2010 14:26]
Jon Stephens
The fact that the server lets you think you're doing something when you're not having any effect is a bug in the server, not the documentation. If we are not going to honour updates to mysql.event, we should explicitly disallow them.
[25 Aug 2010 21:13]
Omer Barnir
Jon, I don't understand you comment. How can we disallow someone with root permissions from updating the events table (or any other) with direct sql? Any 'action' against the system (adding users, changing grants adding a database) can be hacked by one more direct queries to the mysql tables. If you perform some (but not all of them) you will not be successful (for example granting a user a priv via update to the mysql database and not doing a 'flush' will not have the action take effect although the update will not fail). I don't see any server bug here - only document the correct way of doing things = with is with 'sql commands' and not direct queries to the mysql database.
[31 Aug 2010 4:09]
Jon Stephens
Reassigned to self, set prio/target.
[31 Aug 2010 9:08]
Jon Stephens
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.