mysql事件

baidu_25312913 2015-08-05 09:28:58
求大神指导,如何将mysql事件写入开机启动,而不是每次重启电脑后都要手动执行SET GLOBAL event_scheduler = 1;
...全文
36 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
ACMAIN_CHM 2015-08-05
  • 打赏
  • 举报
回复
把这个写入到 my.ini MYSQL的参数文件即可。
引用
event_scheduler Command Line Format --event-scheduler[=value] Config File Format event-scheduler Option Sets Variable Yes, event_scheduler Variable Name event_scheduler Variable Scope Global Dynamic Variable Yes Permitted Values Type enumeration Default OFF Valid Values ON, OFF, DISABLED This variable indicates the status of the Event Scheduler; possible values are ON, OFF, and DISABLED, with the default being OFF.

56,687

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧