https://wazai.net/2306/mysql%E6%8E%92%E7%A8%8Bevent-scheduler

 

SELECT @@event_scheduler;
show events;
SELECT * FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_NAME='mytable'
DELETE FROM mysql.event WHERE db = 'mydb' AND name = 'mytable'
廣告