If you are using MySQL 8 version then you must know that Event Scheduler is enabled by default.
You have to modify etc/my.cnf file, you have to add below line under [mysqld] section.
After that you have to restart mysql service to reflect the changes.
You have to modify etc/my.cnf file, you have to add below line under [mysqld] section.
Code:
event_scheduler=off