Enabling the MySQL Event Scheduler
Enabling the MySQL Event Scheduler
After installation, be sure to enable the scheduler(new mysql installations have it off by default)
to check status:
Code:
SELECT @@event_scheduler;
to enable:
Code:
SET GLOBAL event_scheduler = 1;
Execute mysql stored procedure
call UpdateSales
'UpdateSales' <-- stored procedure name
After installation, be sure to enable the scheduler(new mysql installations have it off by default)
to check status:
Code:
SELECT @@event_scheduler;
to enable:
Code:
SET GLOBAL event_scheduler = 1;
Execute mysql stored procedure
call UpdateSales
'UpdateSales' <-- stored procedure name
Comments
Post a Comment