Navicat for MySQL set timed tasks

1. First open the database, and start the timed task with the data as follows.

SET GLOBAL event_scheduler = ON;
SET @@global.event_scheduler = ON;
SET GLOBAL event_scheduler = 1;
SET @@global.event_scheduler = 1;

2. Then click on the event and create a new event.

3. Fill in the statement to be executed in the definition.

 

4. Write the frequency and time to be executed in the plan

5. Then save and you can execute it.

Guess you like

Origin blog.csdn.net/weixin_38959210/article/details/106220704