I want to set the event_scheduler global to ON even if MySQL is restarted; how can I achieve this?
event_scheduler
ON
SET GLOBAL event_scheduler = ON;
You can set
event_scheduler=ON
in my.ini or my.cnf file, then restart your server for the setting to take effect.
my.ini
my.cnf
Once set event_scheduler will always remain ON no matter whether your server restarts.
2.1m questions
2.1m answers
60 comments
57.0k users