sys_exec () can run a python program
hello,
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/aa.py');
I gave chown mysql:mysql aa.py and chmod 777 aa.py
result is:
+-------------------------------------------+
| sys_exec('python /var/test/script/aa.py') |
+-------------------------------------------+
| 0 |
+-------------------------------------------+
1 row in set (0.23 sec)
but nothing appears in the text file
will you give me some suggestions please?
thanks
Subject
Written By
Posted
sys_exec () can run a python program
May 21, 2013 08:39AM
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.