标签:io on as sql res mysql c ca user
CREATE PROCEDURE test1 ()
BEGIN
INSERT INTO `user`(bookname) VALUES(‘asdf‘);
END;
CREATE EVENT if not exists e_test
on schedule every 30 second
on completion preserve
do call test1();
set global event_scheduler=1;
alter event e_test ON COMPLETION PRESERVE DISABLE;
alter event e_test ON COMPLETION PRESERVE ENABLE;
标签:io on as sql res mysql c ca user
原文地址:http://www.cnblogs.com/yubinli/p/4089816.html