Defining MySQL Events

The following properties are applicable to a MySQL Event object.

Tab

Property

Description

Additional Information

General

Definer Specifies the MySQL account to be used to check access privileges at event execution  
On Schedule Specifies how often the event executes

At: Indicates that the event executes one time only

Every: Indicates that the event is repetitive

At Time Specifies the timestamp value at which the one-time event executes Available when On Schedule is set to At
Interval_Value

Specifies the quantity part of the interval (starting from the timestamp value in At Time) after which the one-time event must run

Specifies the quantity part of the interval at which the repetitive event must run

Available when On Schedule is set to At or Every
Interval_Quantity

Specifies the unit part of the interval (starting from the timestamp value in At Time) after which the one-time event must run

Specifies the unit part of the interval at which the repetitive event must run

Available when On Schedule is set to At or Every
Starts Time Specifies the timestamp value that indicates when the event should begin repeating Available when On Schedule is set to Every
Starts Interval_Value Specifies the quantity part of the interval (starting from the timestamp value in Starts Time) after which the event should begin repeating Available when On Schedule is set to Every
Starts Interval_Quantity Specifies the unit part of the interval (starting from the timestamp value in Starts Time) after which the event should begin repeating Available when On Schedule is set to Every
Ends Time Specifies the timestamp value that indicates when the event should stop repeating Available when On Schedule is set to Every
Ends Interval_Value Specifies the quantity part of the interval (starting from the timestamp value in Ends Time) after which the event should stop repeating Available when On Schedule is set to Every
Ends Interval_Quantity Specifies the unit part of the interval (starting from the timestamp value in Ends Time) after which the event should stop repeating Available when On Schedule is set to Every
On Completion Specifies whether the event must persist or drop after it expires

Preserve: Overrides the default behavior and the event persists after it expires

Not Preserve: Makes the default behavior explicit and the event is dropped after it expires

Status Specifies the status of the event

Enable: Indicates that the event is active

Disable: Indicates that the event is not active

Disable_On_Slave: Indicates that the event was created on the replication source server and replicated to the replica, but is not executed on the replica