In MySQL 5.1.33 there is a fix for an apparently innocuous
bug.
Bug #36540 CREATE EVENT and ALTER EVENT
statements fail with large server_id.
This is a usability bug, that makes the DBA life unnecessarily
hard. The reason for having a large server_id is because a DBA
might want to use the IP address as server ID, to make sure that
there are unique IDs, and to have an easy way of identifying the
server through the IP.
All is well until you mix the server_id assignment with event
creation:
select version();
+-----------+
| version() |
+-----------+
| 5.1.32 |
+-----------+
1 row in set (0.00 sec)
set global server_id =inet_aton('192.168.2.55');
Query OK, 0 rows affected (0.00 sec)
select @@server_id;
+-------------+
| @@server_id |
+-------------+
| …
[Read more]