6.navicat for mysql 定时计划 定时导出EXCEL文件 并 附件发送邮件到固定邮箱


链接:https://blog.csdn.net/pizilii/article/details/80829761

补充:

先查看mysql定时任务是否开启。

show variables like '%sche%';

如果其设置值为 OFF 0 开启event_scheduler

set global event_scheduler =1;   1或者on

在电脑上搜索  任务计划程序 应用   打开   ,

 然后点击  任务计划程序库

选中  之前设置的 定时计划    右击  ->  选择  属性

 

选中    使用最高权限运行