开启定时器

5.1以上版本可以使用

mysql默认是关闭定时器的,用

show variables like "%sche%";#查看event_scheduler。

开启定时器

set global event_scheduler=1

首页 我的博客
粤ICP备17103704号