2006-09-01 13:08:44 +02:00
|
|
|
set global event_scheduler=off;
|
2007-04-05 13:24:34 +02:00
|
|
|
drop database if exists events_test;
|
|
|
|
create database events_test;
|
|
|
|
use events_test;
|
2006-07-13 10:59:58 +02:00
|
|
|
create table execution_log(name char(10));
|
2007-04-05 13:24:34 +02:00
|
|
|
create event abc1 on schedule every 1 second do
|
|
|
|
insert into execution_log value('abc1');
|
|
|
|
create event abc2 on schedule every 1 second do
|
|
|
|
insert into execution_log value('abc2');
|
|
|
|
create event abc3 on schedule every 1 second do
|
|
|
|
insert into execution_log value('abc3');
|
|
|
|
create table event_like like mysql.event;
|
|
|
|
insert into event_like select * from mysql.event;
|
|
|
|
alter table mysql.event
|
|
|
|
change column body body longtext character set utf8 collate utf8_bin;
|
2006-07-13 10:59:58 +02:00
|
|
|
"Now we restart the server"
|