1. 首先开启事件调度器:
show variables like '%scheduler%';
set global event_scheduler = 1;
来源:http://amberoracle.blog.163.com/blog/static/10598633820149274110597/
然后Ctrl + S 保存:
给这个事件起个名字:
show variables like '%scheduler%';
set global event_scheduler = 1;
来源:http://amberoracle.blog.163.com/blog/static/10598633820149274110597/
给这个事件起个名字: