当前位置:网站首页>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

边栏推荐
- 能解决 80% 故障的排查思路
- 应广单片机开发 工规 PMC131 带AD芯片检测电池电压单片机SOP8/14
- Redisson 高性能 Redis 分布式锁源码分析
- Solution to the problem that the easycvr kernel of intelligent video analysis platform cannot be started as a service
- freemarker+poi实现动态生成excel文件及解析excel文件
- Virtual lab basic experiment tutorial -7 Polarization (1)
- 【网络是怎么连接的】第四章 探索接入网和网络运营商
- Alibaba cloud sub account - Permission Policy - full control permission granted to an account and an OSS bucket
- 应广单片机(MCU单片机科普)
- Chrome browser quick access stackoverflow
猜你喜欢
![[today in history] July 2: BitTorrent came out; The commercial system linspire was acquired; Sony deploys Playstation now](/img/16/574eee53720fd609027950b9bf8154.png)
[today in history] July 2: BitTorrent came out; The commercial system linspire was acquired; Sony deploys Playstation now

easyAI笔记——机器学习

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

体验一下阿里云文字识别OCR
![[target tracking] |siamfc](/img/40/3419761d2eb7f1193b699cdd431761.png)
[target tracking] |siamfc

MySQL --- 数据库的基本操作

515. 在每个树行中找最大值

透过华为军团看科技之变(六):智慧公路

Larvel document reading notes custom authentication login and registration using larvel 8

Does pytorch support 32 bits?
随机推荐
【网络是怎么连接的】第四章 探索接入网和网络运营商
体验一下阿里云文字识别OCR
外包干了五年,废了...
原装应广单片机 MCU芯片PMS152 SOP8封装 单片机开发
MySQL --- 数据库的基本操作
Yingguang single chip microcomputer (MCU popular science)
Edgenext hit a mixed punch: a lightweight architecture integrating CNN and transformer
List summation [dummy+ tail interpolation + function processing list reference common pit]
chrome瀏覽器快速訪問stackoverflow
Wechat applet - arrows floating up and down
Modbus协议通信异常
辉芒微IO单片机FT60F11F-MRB
MySQL --- 数据库的基本概念
POJ - 1458 common subsequence (longest common subsequence)
POJ - 1458 Common Subsequence(最长公共子序列)
深入理解ThreadLocal
蓝牙技术|物联网的可穿戴设备新工作模式,蓝牙BLE助力新工作模式
Making tutorial of chicken feet with pickled peppers
php获取两个时间戳之间相隔多少天多少小时多少分多少秒
Pfc232-sop8/14/16 should be wide-ranging and can be tape programmed with burning program