Click here to Skip to main content
15,887,936 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want create the table in the particular database daily.this table will be created when the each day starting of the computer.this event i am not handling these all things handle by MYSQL created automatically when mysql service started
Posted
Updated 23-May-11 20:49pm
v2
Comments
Sandeep Mewara 24-May-11 2:12am    
So? Go ahead.. what next?
vrushali katkade 24-May-11 2:48am    
this event i am not handling these all things handle by MYSQL created automatically when mysql service started
Kim Togo 24-May-11 8:52am    
Can you please try to rephrase your question?

You could use mySQL Events to schedule such a repetitive task.
See http://dev.mysql.com/tech-resources/articles/mysql-events.html[^].
 
Share this answer
 
Comments
Kim Togo 5-Jun-11 9:26am    
Good point. My 5. It is much more elegant.
You can use crontab/Windows scheduler to solve you problem.
When the computer is started, scheduler a job that runs a mysql batch job that performs the SQL statements need.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900