当前位置:网站首页>In Linux, MySQL sets the job task to start automatically
In Linux, MySQL sets the job task to start automatically
2022-07-02 17:55:00 【Liang Meng】
1. Connect to mysql service
mysql -u root -p
2. Find the database you need to operate
show databases;
3. Query the data in the current database job
show events;
4. Check job Whether to start
show global variables like '%event_scheduler%';
OFF Delegate did not start , newly build job The default is OFF
5. Turn on job
set global event_scheduler = on;
6. Query again job state , Has become a ON
7. Set up mysql After restart ,job Can start automatically
edit /etc/my.cnf file , stay [mysqld] Add below event_scheduler=1
边栏推荐
- wait_ for_ Gap -- restore archive from primary archive to secondary Archive
- win10 kms activator
- 毕业总结
- Android cycle timer implementation, to achieve fixed Android cache cleaning
- Chapter 15 string localization and message Dictionary (1)
- 我的创作纪念日
- Are you holding back on the publicity of the salary system for it posts such as testing, development, operation and maintenance?
- Deep understanding of ThreadLocal
- [target tracking] |siamfc
- Alibaba cloud sub account - Permission Policy - full control permission granted to an account and an OSS bucket
猜你喜欢
如何下载微信支付证书(API证书)
Modbus protocol communication exception
USB interface powered Bluetooth color light strip controller
The price is only 40 yuan. Pico development board of raspberry pie is added with WiFi module, and it is out of stock as soon as it comes into the market
阿里云子账户 - 权限策略 - 授权给某个账户某个 OSS Bucket 的完全控制权限
[comment le réseau se connecte] chapitre 6: demande d'accès au serveur et réponse au client (terminé)
MySQL进阶-事务及索引
PFC232-SOP8/14/16应广一级可带烧录程序编带
Modbus protocol communication exception
开发一个禁止删除namespace的控制器
随机推荐
好评率计算
Virtual lab basic experiment tutorial -7 Polarization (2)
Huimang micro IO MCU ft60f11f-mrb
PHP gets the number of days, hours, minutes and seconds between the two timestamps
Solution to the problem that the easycvr kernel of intelligent video analysis platform cannot be started as a service
【网络是怎么连接的】第四章 探索接入网和网络运营商
辉芒微IO单片机FT60F010A-URT
Develop a controller that prohibits deleting namespaces
维护万星开源向量数据库是什么体验
567. Arrangement in string
每日一题——小乐乐改数字
[how is the network connected] Chapter 4 explores access networks and network operators
JDBC
JDBC
PMS132B单片机TWS数码管蓝牙充电仓方案开发
Modbus协议通信异常
Use of nexttile function in MATLAB
easyAI笔记——机器学习
Navigateur Chrome pour un accès rapide au stackoverflow
应广单片机开发流程需要注意哪些?