title: MySQL UDF sys_exec() doesn't work
body: <p>I have a trigger which calls a stored procedure with parameters which calls <code>SET result = sys_exec(cmd);</code>. But it gives the error "function sys_exec does not exist".</p>
  
  <p>I don't know what to do, on Tuesday I have presentation and because of this code line my project won't work.
  The codes which I try to work.</p>
  
  <pre><code>DELIMITER $$
  CREATE PROCEDURE push_message
  (p1   int,
   p2   int,
   p3 varchar(20))
  BEGIN
   DECLARE cmd CHAR(255);
   DECLARE result CHAR(255);
   SET cmd = CONCAT('curl https://pubsub.pubnub.com/publish/demo/demo/0/mysql_triggers/0/%22',p1, ',' ,p2, ',' ,p3,'%22');
   SET result = sys_exec(cmd);
  END$$; 
  
  
  CREATE TRIGGER push_message_trigger AFTER INSERT ON your_table_name_here
  FOR EACH ROW
  CALL push_message(NEW.id, NEW.num, NEW.name);
  </code></pre>