I want to create an event to reset field starting from 2016-02-23 00:00:00
CREATE EVENT reset_count
ON SCHEDULE
EVERY 72 HOUR STARTS '2016-02-23 00:00:00'
ON COMPLETION PRESERVE
ENABLE
DO BEGIN
UPDATE table_1 SET count1 = 0;
And then, the following error appears: you have an error in your sql syntax; check the manual that corresponds to your mysql server version for the right syntax to use near '' at line 7.
It seems that the database cannot recognize the '2016-02-23 00:00:00'. Why?