1. Check whether event is enabled show variables like '%sche%'; two, -- Set the time zone and set the event scheduler to ON, or event_scheduler = ON -- Set the database base database used or to which this event belongs -- If there is a task plan with this name, delete it first -- Set the delimiter to '$$'. The default statement delimiter for MySQL is ';'. This way, the subsequent create to end code will be treated as a single statement for execution. -- Create a scheduled task, set the first execution time to '2012-11-15 10:00:00', and execute it once a day -- on schedule every 30 seconds create event test_update -- Start the task to do ----------------------------------- -- End the scheduled task -- Set the statement separator back to ';' The above is all I have to say about MySQL event planning. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. You may also be interested in:
|
<<: A set of code based on Vue-cli supports multiple projects
>>: Practical example of Vue virtual list
First of all, let's talk about the execution ...
I call this kind of bug a typical "Hamlet&qu...
Question: Is the origin server unable to find a r...
/etc/fstab Automatically mount partitions/disks, ...
This article shares the specific code of Vue to a...
Table of contents 01. Use useState when render is...
Real-time replication is the most important way t...
I chose node.js to build the server. Friends who ...
First: via text/HTML var txt1="<h1>Tex...
Today, let's talk about how to use js to achi...
1. Download, install and activate CLion Just foll...
We have many servers that are often interfered wi...
Table of contents Code Optimization Using key in ...
mysql obtains statistical data within a specified...
Table of contents 1. Basic knowledge of indexing ...