-- mysql查看是否开启定时器
SHOW VARIABLES LIKE 'event_scheduler';
-- mysql查看所有的定时器任务
SHOW EVENTS;
查看定时任务
SELECT * FROM information_schema.events;
关闭定时任务
DROP event temp_event;
-- 查看所有的存储过程
-- show procedure status;
-- mysql查看是否开启定时器
SHOW VARIABLES LIKE 'event_scheduler';
-- mysql查看所有的定时器任务
SHOW EVENTS;
查看定时任务
SELECT * FROM information_schema.events;
关闭定时任务
DROP event temp_event;
-- 查看所有的存储过程
-- show procedure status;