title: Mysql Udf sys_exec function call to shell script
body: <p>I am Calling a shell script from mysql UDF function sys_exec : </p>
  
  <pre><code> SET cmd = CONCAT('cd /home/enablement;sh execute.sh ', CONCAT('1', ' ', '1', ' ', '1'));
  SET result = sys_exec(cmd);
  SELECT result FROM DUAL; 
  </code></pre>
  
  <p>But I am getting an error code 32512 in result which is probably of two different users one for mysql and other for linux (for execute.sh script) , can you please guide me the way how can I be able to make mysql user to access execute.sh file while invoking sys_exec function.</p>
  
  <p>Thanks In Adv</p>