The code for Create_trigger3.sql is: DROP EVENT IF EXISTS test_event_03; CREATE EVENT test_event_03 ON SCHEDULE EVERY 10 SECOND STARTS CURRENT_TIMESTAMP ENDS CURRENT_TIMESTAMP + INTERVAL 1 MINUTE DO INSERT INTO messages(message,created_at) VALUES('Test MySQL recurring Event',NOW());