mysql中事件新建

CREATE DEFINER = `root`@`%` EVENT `DBName`.`eventName`
ON SCHEDULE
EVERY '30' MINUTE STARTS '2024-01-09 09:33:00'
DO CALL procedureName();

每30分钟执行一次procedure,从2024-01-09 09:33:00开始

你可能感兴趣的:(MySql,mysql,数据库)