The MySQL Event Scheduler manages the scheduling and execution of events, that is, tasks that run according to a schedule. The following discussion covers the Event Scheduler and is divided into the following sections:
Section 27.4.1, βEvent Scheduler Overviewβ, provides an introduction to and conceptual overview of MySQL Events.
Section 27.4.3, βEvent Syntaxβ, discusses the SQL statements for creating, altering, and dropping MySQL Events.
Section 27.4.4, βEvent Metadataβ, shows how to obtain information about events and how this information is stored by the MySQL Server.
Section 27.4.6, βThe Event Scheduler and MySQL Privilegesβ, discusses the privileges required to work with events and the ramifications that events have with regard to privileges when executing.
Stored routines require the events data
dictionary table in the mysql system database.
This table is created during the MySQL 8.0 installation
procedure. If you are upgrading to MySQL 8.0 from an
earlier version, be sure to perform the upgrade procedure to make
sure that your system database is up to date. See
Chapter 3, Upgrading MySQL.
Additional Resources
There are some restrictions on the use of events; see Section 27.8, βRestrictions on Stored Programsβ.
Binary logging for events takes place as described in Section 27.7, βStored Program Binary Loggingβ.
You may also find the MySQL User Forums to be helpful.