Mysql Event Not Working

檢查排程是否有開啟

SELECT @@event_scheduler;

SELECT @@global.event_scheduler;


設定開啟
SET GLOBAL event_scheduler = ON;


How to force an event to execute in MySQL


  1. Move all the code within the event into a stored procedure
  2. Make the event only call the stored procedure
  3. Test the stored procedure with the CALL syntax.

留言

這個網誌中的熱門文章

[HTML]標籤-下

論P, NP, NP-Complete, NP-Hard問題

[Python]基礎課程

[系統]解除電腦限制頻寬

[HTML]標籤-上

[AlaSQL] 多data查詢+累計

How to Check the MySQL Version

[SQL Sever] 日期時間

推薦使用的9款編程字體

類別型態 vs 基本型態