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
If you don't want to use javascript control, t...
<br />For some time, I found that many peopl...
This article example shares the specific implemen...
Docker is equivalent to a container, which can bu...
The <script> tag In HTML5, script has the f...
1. Change password 1. Modify the password of ordi...
1. About the file server In a project, if you wan...
Use nginx to configure the separation of PC site ...
Table of contents Preface && Operator || ...
<br />How can I remove the scroll bar on the...
1. Overview Zabbix is a very powerful and most ...
Problem description: Copy code The code is as fol...
By default, the MyISAM table will generate three ...
Code implementation: Copy code The code is as fol...
webpack-dev-server core concepts Webpack's Co...