exec mysql -
07-28-2004
, 04:54 PM
Hi all,
i'm (desesperatly) trying, on Linux, to use Process.exec to run
something like:
exec("/usr/../mysql -uuser -ppass -e \"source ...\" DB");
but the only output i get is '--help' contents.
I'm quite surprised since
exec("/usr/.../mysqldump -uuser -ppass --opt DB")
works perfectly.
Have anybody tried this, or do you have any other solution (apart
from parsing my file and using executeQuery/executeUpdate ;-) ?
Thanks
Pierrot
--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=my...ie.nctu.edu.tw |