I am trying to write an automated test script to test the MySQL event I created, and I am wondering if there is a way to execute some kind of command to force the event to execute. The event is set up to run daily at midnight, but I don't want the automated test script to have to wait for the event to fire.
One of the ways I can think of is ALTER Event, so that it will execute one-time 5 seconds in the future, but I would like to know if there is a more elegant way to make it execute.
mysql
user55417
source share