SET GLOBAL event_scheduler = ON;
。然后使用CREATE EVENT
语句定义事件,如:,,``sql,CREATE EVENT my_event,ON SCHEDULE EVERY 1 HOUR,DO,BEGIN, -定时执行的SQL语句,END;,
``SET GLOBAL event_scheduler = ON;
。然后使用CREATE EVENT
语句定义事件,如:,,``sql,CREATE EVENT my_event,ON SCHEDULE EVERY 1 HOUR,DO,BEGIN, -定时执行的SQL语句,END;,
``Powered By Z-BlogPHP 1.7.3