I have a problem:
How I can insert a row and delete it X time?
I think something like INSERT the value whit a time stamp and add a task to delete it.
But I don’t have idea how to add MySQL task and if here is a better method.
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.
you need to use event scheduler from MySQL:
the basic about MySQL scheduler is:
Source: http://dev.mysql.com/doc/refman/5.1/en/create-event.html
tutorial: http://www.sitepoint.com/how-to-create-mysql-events/
Guide: http://dev.mysql.com/doc/refman/5.1/en/events.html