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

边栏推荐
- 应广PMC131 SOP16 16pin八位单片机
- Alibaba cloud sub account - Permission Policy - full control permission granted to an account and an OSS bucket
- 【网络是怎样连接的】第六章 请求到达服务器以及响应给客户端(完结)
- Chapter 15 string localization and message Dictionary (1)
- From a professional background, I can't get into a small company for interview
- freemarker+poi实现动态生成excel文件及解析excel文件
- Linux中,mysql设置job任务自动启动
- 把xshell连接服务器关掉,运行的jar包就自动停止的解决方案
- [nonlinear control theory]8_ Comparison of three robust controllers
- android之循环定时器实现,实现定Android时缓存清理
猜你喜欢

Redisson 高性能 Redis 分布式锁源码分析

Laravel文档阅读笔记-Custom Authentication Login And Registration Using Laravel 8

科班出身,面试小公司都进不去

Edgenext hit a mixed punch: a lightweight architecture integrating CNN and transformer

【網絡是怎樣連接的】第六章 請求到達服務器以及響應給客戶端(完結)

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

pytorch支持32位吗?

My creation anniversary
![[how to connect the network] Chapter 5 explore the server](/img/81/60899d017f5f86a223aa8a11c2e5bf.png)
[how to connect the network] Chapter 5 explore the server

Larvel document reading notes custom authentication login and registration using larvel 8
随机推荐
Ora-19838 -- restore control files to the standby database
Yingguang single chip microcomputer pms150/pmc150/pms150c consumer single chip microcomputer
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
Linux中,mysql设置job任务自动启动
Yingguang single chip microcomputer development specification pmc131 with AD chip to detect battery voltage single chip microcomputer sop8/14
Redisson high performance redis distributed lock source code analysis
easyAI笔记——深度学习
Solution to the problem that the easycvr kernel of intelligent video analysis platform cannot be started as a service
把xshell連接服務器關掉,運行的jar包就自動停止的解决方案
台风来袭,多景区暂时关闭,省文旅厅提醒注意安全!
辉芒微IO单片机FT60F11F-MRB
第十五章 字符串本地化和消息字典(一)
好评率计算
Redisson 高性能 Redis 分布式锁源码分析
Viewing technological changes through Huawei Corps (VI): smart highway
Turn off the xshell connection server and the running jar package will stop automatically
Pfc232-sop8/14/16 should be wide-ranging and can be tape programmed with burning program
JDBC
Atcoder beginer contest 237 VP supplement
Songhan sn8p2511 sop8 single chip microcomputer can be used for burning, providing single chip microcomputer scheme development and single chip microcomputer decryption