我试图运行一个预定的事件,并得到一个错误:查询为空。有任何想法吗?
CREATE TEMPORARY TABLE `event_test` (
`id` BIGINT(20) NOT NULL AUTO_INCREMENT,
event_name VARCHAR(100),
event_time TIMESTAMP,
PRIMARY KEY (`id`)
);
DELIMITER $$
CREATE
EVENT event_test
ON SCHEDULE EVERY 1 DAY STARTS CURRENT_TIMESTAMP + INTERVAL 1 MINUTE ENDS '2014-01-01 00:00.00'
DO BEGIN
INSERT INTO event_test (event_name) VALUES("TEST_EVENT");
END;
DELIMITER $$