lib_mysqludf_sysFS#14: sys_exec is not executing the external commands

This is the official MySQL UDF Repository bug tracker. Please use it with care.

  • Before submitting a new bug report, please make sure the bug is not already reported.
  • Include the given error code, trace and any other debugging information supplied.
  • Please leave your e-mail address, so we can get back to you if it is unclear how to reproduce the bug.

Thank you!

Tasklist

FS#14 - sys_exec is not executing the external commands

Attached to Project: lib_mysqludf_sys
Opened by 'nagesh800pbx-gmail' - Wednesday, 12 August 2009, 16:35 GMT+2
Task Type Bug Report
Category Backend / Core
Status Assigned
Assigned To Roland Bouman (roland)
Operating System Linux
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Hi All,

Sorry, In my previous thread, my emaild was incorrect.

I'm trying to run the external command from sys_exec, but I could not.

I'm exactly trying to run a perl script, which intern deletes a directory.
When I execute the below sql query it returning code is "3328"
SELECT sys_exec('perl /root/temp/test.pl');

When I checked the directory, it was not deleted, where as same command when I run
through command line directory it's deleting the directory.

some thing like "perl /root/temp/test.pl"

Can any one suggest us, what might be problem and possible solution to it.

To Install the sys_exec, I have followed the documentation provided on your site,
as downloading lib_mysqludf_sys_0.0.3.tar and running the install.sh file.

Any help is highly appreciated.


Thanks.
This task depends upon

Comment by 'rodrigo.emygdio-gmail' - Thursday, 21 January 2010, 12:26 GMT+2
Hi,
I have the same problem. I need do the sys_exec execution a external ruby script
Add comment
Captcha image - if you can't read the image please send an e-mail Please enter the code displayed in the image. The verification is case-insensitive.

Loading...