/*通过下列语句查询event是否开启*/
# SHOW VARIABLES LIKE 'event_scheduler';
/*或者*/
# SHOW VARIABLES LIKE '%sche%';
/*通过执行下列语句,来开启event_scheduler*/
# set global event_scheduler =1;
/*或者*/
# set global event_scheduler=on;
/*通过执行下列语句,来关闭event_scheduler*/
# set global event_scheduler =0;
/*或者*/
# set global event_scheduler=off;
暂无评论