What is a “MySQL event”? What is its purpose? How is it different from a “job scheduler”?
Many posts on SO, and the MySQL documentation, describe how to implement MySQL events, but I am just interested in their purpose.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
MySQL events offer an alternative to
scheduled tasksandcron jobs.Events can be used to create backups, delete stale records, aggregate data for reports, and so on. Unlike standard triggers which execute given a certain condition, an event is an object that is triggered by the passage of time and is sometimes referred to as a temporal trigger.
Refer below link explained everything here :
http://phpmaster.com/working-with-mysql-events/