Ask your bosses, mysql Settings, perform a other functions to the end of each month how to write
CodePudding user response:
The CREATE EVENT ` event_name `
ON the SCHEDULE EVERY MONTH 1
STARTS '2021-03-31 00:00:00 ON COMPLETION PRESERVE
The ENABLE
DO call pro_name;
Event_name: is what you create event name
Pro_name: is the function you want to perform a monthly
Starts: what time is from beginning
CodePudding user response: