报错信息:

1064-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 'STARTS'2025-12-31 00:00:00'
DO call testUpdate()'at line 3
预览sql发现


CREATE EVENT `data`.`autocleardata`
ON SCHEDULE
EVERY 1 DAY STARTS '2025-12-31 06:00:00'
DO CALL SP_AutoCleanPackageInfo('day',45);
SHOW EVENTS;