2

create event del on schedule every 5 minute starts '2012-11-16 10:20:23' do delete from purchased limit 1;

根据我的上述查询,每 5 分钟从购买的表中删除 1 行,但是,此事件没有结果

4

1 回答 1

2

event_scheduler变量设置为 ON 状态。运行此语句:

SET GLOBAL event_scheduler = 'ON' 

或更新my.ini文件:

event_scheduler=ON
于 2012-11-16T05:17:59.913 回答