MySQL Forums
Forum List  »  UDF

UDF Function calling external library
Posted by: DEAN STEWART
Date: October 18, 2013 10:03AM

Hi,

I've written a UDF to call a third party maths library on Ubuntu Linux, however when I execute the function from MySQL the connection to the database immediately drops.

Looking in the /var/log/MySQL/error.log it is complaining about the LM_LICENSE_FILE environment variable not being set.

Any ideas where I can set this env variable so that it will be picked up by MySQL ?

I've tried setting it in the .profile and also the /etc/MySQL/debian-start files but neither work.

Thanks

Dean

Options: ReplyQuote


Subject
Views
Written By
Posted
UDF Function calling external library
2396
October 18, 2013 10:03AM


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.