Home > Database > Mysql Tutorial > body text

Mysql 事件(event)_MySQL

WBOY
Release: 2016-06-01 13:11:19
Original
1068 people have browsed it

Mysql 事件(event)类计划任务,在某时刻 一次性执行 或 周期性执行 一些 SQL 脚本或存储过程,系统的效率更高。

但默认 是关闭状态,要想开启,有两个方法:

 

1. 执行 set global event_scheduler=on;

2.在my.ini配置文件中填写: event_scheduler=on

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!