I would like to execute a procedure periodically, how to do that in MySQL?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
If you have MySQL 5.1 you can use events.
http://dev.mysql.com/doc/refman/5.1/en/events.html
回答2:
MySQL allow this with the Event Scheduler : http://dev.mysql.com/doc/refman/5.1/en/events.html