I've set up an event in mysql to run every 24 hours starting 'tomorrow'. That's whats the event table is showing:
db name body definer execute_at interval_value interval_field created modified last_executed starts ...
DBA P1 [BLOB - 51 B] abc@% NULL 24 HOUR 2014-02-01 15:10:19 2014-02-01 15:10:19 2014-02-01 16:08:14 2014-02-02 14:10:19
What's making trouble is, that allthough it should start on 2014-02-02 14:10:19
it has already executed on 2014-02-01 16:08:14
which isn't even 24 hours from the creation time?
What's wrong, any ideas?
This is the create statement:
CREATE EVENT `P1`
ON SCHEDULE EVERY 24 HOUR
STARTS CURRENT_TIMESTAMP + INTERVAL 24 HOUR
ON COMPLETION PRESERVE ENABLE DO ..some sql...