MySQL Event Scheduler

Mysql event scheduler

The event scheduler is a new function after Mysql5.1. It can trigger certain operations on the database according to a custom time period. It can be understood as a time trigger, similar to the task scheduler crontab under the Linux system.

查看下调度器状态,发现默认是关闭的:

mysql> show variables like '%scheduler%';
+-----------------+-------+
| Variable_name   | Value |
+-----------------+-------+
| event_scheduler | OFF    |

Guess you like

Origin blog.csdn.net/chj_1224365967/article/details/130763122