-
-
Follow the steps in the figure to create a new event:
Execution statement: If there are multiple lines of execution statements wrapped with begin ... end.
Definer: Specify the user account to use when checking access rights when the event is running.
Status: ENABLE keyword default event activation status; DISABLE keyword keeps the event inactive.
ON COMPLETION: The NOT PRESERVE keyword will be deleted once the event has expired; the PRESERVE keyword rewrites this performance.
-
Write a plan:
The first part is to specify a certain time to execute once;
The second part is how many times the loop executes within a certain time range.
-
Save, the event is created.
Navicat creates mysql events
Guess you like
Origin blog.csdn.net/qq_18671415/article/details/105410067
Recommended
Ranking