当前位置:网站首页>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
边栏推荐
- chrome瀏覽器快速訪問stackoverflow
- Huimang micro IO MCU ft60f011a-rb
- 应广单片机003烧录器自定义封装使用技巧
- The bottom simulation implementation of vector
- 台湾飞凌FM8PB513B单片机提供单片机方案开发 产品设计
- Outsourcing for five years, abandoned
- Yingguang single chip microcomputer development specification pmc131 with AD chip to detect battery voltage single chip microcomputer sop8/14
- wait_for_gap -- 从主库归档备库恢复归档
- pytorch支持32位吗?
- Two pieces of nature a day! Duan Fengfeng, an alumnus of the University of science and technology of China, was the third Chinese winner of the belby medal
猜你喜欢
【Zuul】com.netflix.zuul.exception.ZuulException: Hystrix Readed time out
如何下载微信支付证书(API证书)
Navigateur Chrome pour un accès rapide au stackoverflow
Easyai notes - machine learning
MB10M-ASEMI整流桥MB10M
wait_for_gap -- 从主库归档备库恢复归档
Alibaba cloud sub account - Permission Policy - full control permission granted to an account and an OSS bucket
售价仅40元,树莓派Pico开发板加入WiFi模块,刚上市就脱销
Keras深度学习实战——基于VGG19模型实现性别分类
Develop a controller that prohibits deleting namespaces
随机推荐
开发一个禁止删除namespace的控制器
Use of nexttile function in MATLAB
Mb10m-asemi rectifier bridge mb10m
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
Easyai notes - deep learning
Android cycle timer implementation, to achieve fixed Android cache cleaning
科班出身,面试小公司都进不去
Longest non repeating subarray
把xshell连接服务器关掉,运行的jar包就自动停止的解决方案
Redisson 高性能 Redis 分布式锁源码分析
EdgeNeXt打出了一套混合拳:集CNN与Transformer于一体的轻量级架构
Easyswoole3.2 restart failed
Solution pour arrêter automatiquement les paquets Jar en cours d'exécution en éteignant le serveur de connexion xshell
PMS150C应广单片机开发案例
第十五章 字符串本地化和消息字典(一)
Songhan sn8p2511 sop8 single chip microcomputer can be used for burning, providing single chip microcomputer scheme development and single chip microcomputer decryption
php获取两个时间戳之间相隔多少天多少小时多少分多少秒
POJ - 1458 Common Subsequence(最长公共子序列)
Ssm+ wechat applet to realize property management system
Viewing technological changes through Huawei Corps (VI): smart highway