sqlmysqldatabaseeventsmysql-event

MySQL view existing event script


MySQL Events

I have a server with existing events. I know how to list them, but I don't know what they do. is there a way to see the event script of existing events? Either in cli or in the Workbench.


Solution

  • Use MySQL's show create event statement to see the create event statement including its body containing the event code.