If I want to delete an event, I need to request something like "DROP EVENT IF EXISTS eventname" But I can not find the command to delete all events at one time, I have to delete the event one by one. Is there any SQL to delete all events in one go?
"DROP EVENT IF EXISTS (SELECT EVENT_NAME FROM information_schema.EVENTS)"
doesn't work either.
sql database mysql
Yellove
source share