If I want to delete some event I need to query something like \"DROP EVENT IF EXISTS eventname\" But I can\'t find the command of deleting all the events at one t
\"DROP EVENT IF EXISTS eventname\"
To construct a drop events query, you can do something like this:
select concat('drop event if exists ', event_name, ';') from information_schema.events;