关于mysql的定时任务

参考地址 http://www.javashuo.com/article/p-awkqrryd-kn.html 应用场景:发货后15天自动更改订单状态为已收货 实现方法:mysql的event事件 1.查看event事件是否开启,默认都是关闭状态 SHOW VARIABLES LIKE 'event_scheduler';   2.开启event事件 set global event_schedu
相关文章
相关标签/搜索