creating weekly scheduled event in mysql
error #1064 in the event what wrong i m doing please suggest me some good tutorials, current following mysql docs

    DELIMITER $$
    CREATE EVENT week_stats
    ON SCHEDULE EVERY  WEEK 
    DO
    BEGIN
    INSERT INTO week_stats (id,likes,dislikes,points) 
    SELECT id,likes,dislikes,points FROM profile;
    END $$
    DELIMITER ;
creating weekly scheduled event in mysql
===

error #1064 in the event what wrong i m doing please suggest me some good tutorials, current following mysql docs

    DELIMITER $$
    CREATE EVENT week_stats
    ON SCHEDULE EVERY  WEEK 
    DO
    BEGIN
    INSERT INTO week_stats (id,likes,dislikes,points) 
    SELECT id,likes,dislikes,points FROM profile;
    END $$
    DELIMITER ;