I am trying to expand my knowledge with MYsql and every time I run this via workbench, I get an syntax error but I can not seem to find it. I have been looking all over google for help with this and I did copy 2 tutorials to get to this stage.
DELIMITER $$
CREATE EVENT[IF NOT EXIST]`warning_reset`
ON SCHEDULE EVERY 1 WEEK
STARTS '2017-03-06 18:00:00'
ON COMPLETION PRESERVE
DO BEGIN
call warning_script;
END */$$
DELIMITER ;
Error Below:
Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '*/' at line 7