MySQL Forums
Forum List  »  Connector/Python

sys_exec () can run a python program
Posted by: Luca Lucchesi
Date: May 21, 2013 08:39AM


for test reasons, I have a python program who writes to a file. txt date and the current time.

select sys_exec('python /var/test/script/');

I gave chown mysql:mysql and chmod 777

result is:
| sys_exec('python /var/test/script/') |
| 0 |
1 row in set (0.23 sec)

but nothing appears in the text file

will you give me some suggestions please?


Options: ReplyQuote

Written By
sys_exec () can run a python program
May 21, 2013 08:39AM

Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.