MySQL Forums
Forum List  »  UDF

Re: Can't access UDF functions
Posted by: Brian Cavanagh
Date: May 27, 2008 04:00PM

ohh my OS is centos ver 5

create function sys_exec returns int soname '';
(0 row(s)affected)
(0 ms taken)

select sys_exec("'hello world' >/home/brianc/test.txt");
Error Code : 1305
FUNCTION mysql.sys_exec does not exist
(0 ms taken)

drop function if exists sys_exec;
(0 row(s)affected)
(0 ms taken)

Yeah and I disabled the selinux options, and stored it in /usr/lib\

thanks again!

Options: ReplyQuote

Written By
May 27, 2008 11:53AM
May 27, 2008 01:43PM
Re: Can't access UDF functions
May 27, 2008 04:00PM
May 27, 2008 07:16PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.